@@ -4332,7 +4332,7 @@ fn test_no_txn_manager_serialize_deserialize() {
4332
4332
let ( _, nodes_0_deserialized_tmp) = {
4333
4333
let mut channel_monitors = HashMap :: new ( ) ;
4334
4334
channel_monitors. insert ( chan_0_monitor. get_funding_txo ( ) . 0 , & mut chan_0_monitor) ;
4335
- <( BlockHash , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4335
+ <( Option < BlockHash > , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4336
4336
default_config : config,
4337
4337
keys_manager,
4338
4338
fee_estimator : & fee_estimator,
@@ -4441,7 +4441,7 @@ fn test_manager_serialize_deserialize_events() {
4441
4441
let ( _, nodes_0_deserialized_tmp) = {
4442
4442
let mut channel_monitors = HashMap :: new ( ) ;
4443
4443
channel_monitors. insert ( chan_0_monitor. get_funding_txo ( ) . 0 , & mut chan_0_monitor) ;
4444
- <( BlockHash , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4444
+ <( Option < BlockHash > , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4445
4445
default_config : config,
4446
4446
keys_manager,
4447
4447
fee_estimator : & fee_estimator,
@@ -4532,7 +4532,7 @@ fn test_simple_manager_serialize_deserialize() {
4532
4532
let ( _, nodes_0_deserialized_tmp) = {
4533
4533
let mut channel_monitors = HashMap :: new ( ) ;
4534
4534
channel_monitors. insert ( chan_0_monitor. get_funding_txo ( ) . 0 , & mut chan_0_monitor) ;
4535
- <( BlockHash , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4535
+ <( Option < BlockHash > , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4536
4536
default_config : UserConfig :: default ( ) ,
4537
4537
keys_manager,
4538
4538
fee_estimator : & fee_estimator,
@@ -4623,7 +4623,7 @@ fn test_manager_serialize_deserialize_inconsistent_monitor() {
4623
4623
4624
4624
let mut nodes_0_read = & nodes_0_serialized[ ..] ;
4625
4625
if let Err ( msgs:: DecodeError :: InvalidValue ) =
4626
- <( BlockHash , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4626
+ <( Option < BlockHash > , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4627
4627
default_config : UserConfig :: default ( ) ,
4628
4628
keys_manager,
4629
4629
fee_estimator : & fee_estimator,
@@ -4637,7 +4637,7 @@ fn test_manager_serialize_deserialize_inconsistent_monitor() {
4637
4637
4638
4638
let mut nodes_0_read = & nodes_0_serialized[ ..] ;
4639
4639
let ( _, nodes_0_deserialized_tmp) =
4640
- <( BlockHash , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4640
+ <( Option < BlockHash > , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut nodes_0_read, ChannelManagerReadArgs {
4641
4641
default_config : UserConfig :: default ( ) ,
4642
4642
keys_manager,
4643
4643
fee_estimator : & fee_estimator,
@@ -7498,7 +7498,7 @@ fn test_data_loss_protect() {
7498
7498
node_state_0 = {
7499
7499
let mut channel_monitors = HashMap :: new ( ) ;
7500
7500
channel_monitors. insert ( OutPoint { txid : chan. 3 . txid ( ) , index : 0 } , & mut chain_monitor) ;
7501
- <( BlockHash , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut :: std:: io:: Cursor :: new ( previous_node_state) , ChannelManagerReadArgs {
7501
+ <( Option < BlockHash > , ChannelManager < EnforcingSigner , & test_utils:: TestChainMonitor , & test_utils:: TestBroadcaster , & test_utils:: TestKeysInterface , & test_utils:: TestFeeEstimator , & test_utils:: TestLogger > ) >:: read ( & mut :: std:: io:: Cursor :: new ( previous_node_state) , ChannelManagerReadArgs {
7502
7502
keys_manager : keys_manager,
7503
7503
fee_estimator : & fee_estimator,
7504
7504
chain_monitor : & monitor,
0 commit comments