@@ -866,7 +866,7 @@ impl<'a, 'b, 'c> Drop for Node<'a, 'b, 'c> {
866
866
) >:: read (
867
867
& mut io:: Cursor :: new ( w. 0 ) ,
868
868
ChannelManagerReadArgs {
869
- default_config : self . node . get_current_default_configuration ( ) . clone ( ) ,
869
+ config : self . node . get_current_config ( ) ,
870
870
entropy_source : self . keys_manager ,
871
871
node_signer : self . keys_manager ,
872
872
signer_provider : self . keys_manager ,
@@ -1279,7 +1279,7 @@ fn check_claimed_htlcs_match_route<'a, 'b, 'c>(
1279
1279
}
1280
1280
1281
1281
pub fn _reload_node < ' a , ' b , ' c > (
1282
- node : & ' a Node < ' a , ' b , ' c > , default_config : UserConfig , chanman_encoded : & [ u8 ] ,
1282
+ node : & ' a Node < ' a , ' b , ' c > , config : UserConfig , chanman_encoded : & [ u8 ] ,
1283
1283
monitors_encoded : & [ & [ u8 ] ] ,
1284
1284
) -> TestChannelManager < ' b , ' c > {
1285
1285
let mut monitors_read = Vec :: with_capacity ( monitors_encoded. len ( ) ) ;
@@ -1303,7 +1303,7 @@ pub fn _reload_node<'a, 'b, 'c>(
1303
1303
<( BlockHash , TestChannelManager < ' b , ' c > ) >:: read (
1304
1304
& mut node_read,
1305
1305
ChannelManagerReadArgs {
1306
- default_config ,
1306
+ config ,
1307
1307
entropy_source : node. keys_manager ,
1308
1308
node_signer : node. keys_manager ,
1309
1309
signer_provider : node. keys_manager ,
@@ -1651,7 +1651,7 @@ pub fn exchange_open_accept_chan<'a, 'b, 'c>(
1651
1651
42
1652
1652
) ;
1653
1653
node_b. node . handle_open_channel ( node_a_id, & open_channel_msg) ;
1654
- if node_b. node . get_current_default_configuration ( ) . manually_accept_inbound_channels {
1654
+ if node_b. node . get_current_config ( ) . manually_accept_inbound_channels {
1655
1655
let events = node_b. node . get_and_clear_pending_events ( ) ;
1656
1656
assert_eq ! ( events. len( ) , 1 ) ;
1657
1657
match & events[ 0 ] {
@@ -1830,7 +1830,7 @@ pub fn create_unannounced_chan_between_nodes_with_value<'a, 'b, 'c, 'd>(
1830
1830
let node_a_id = nodes[ a] . node . get_our_node_id ( ) ;
1831
1831
let node_b_id = nodes[ b] . node . get_our_node_id ( ) ;
1832
1832
1833
- let mut no_announce_cfg = nodes[ a] . node . get_current_default_configuration ( ) . clone ( ) ;
1833
+ let mut no_announce_cfg = nodes[ a] . node . get_current_config ( ) ;
1834
1834
no_announce_cfg. channel_handshake_config . announce_for_forwarding = false ;
1835
1835
nodes[ a]
1836
1836
. node
0 commit comments