@@ -866,7 +866,7 @@ impl<'a, 'b, 'c> Drop for Node<'a, 'b, 'c> {
866866 ) >:: read (
867867 & mut io:: Cursor :: new ( w. 0 ) ,
868868 ChannelManagerReadArgs {
869- default_config : self . node . get_current_default_configuration ( ) . clone ( ) ,
869+ config : self . node . get_current_config ( ) ,
870870 entropy_source : self . keys_manager ,
871871 node_signer : self . keys_manager ,
872872 signer_provider : self . keys_manager ,
@@ -1279,7 +1279,7 @@ fn check_claimed_htlcs_match_route<'a, 'b, 'c>(
12791279}
12801280
12811281pub 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 ] ,
12831283 monitors_encoded : & [ & [ u8 ] ] ,
12841284) -> TestChannelManager < ' b , ' c > {
12851285 let mut monitors_read = Vec :: with_capacity ( monitors_encoded. len ( ) ) ;
@@ -1303,7 +1303,7 @@ pub fn _reload_node<'a, 'b, 'c>(
13031303 <( BlockHash , TestChannelManager < ' b , ' c > ) >:: read (
13041304 & mut node_read,
13051305 ChannelManagerReadArgs {
1306- default_config ,
1306+ config ,
13071307 entropy_source : node. keys_manager ,
13081308 node_signer : node. keys_manager ,
13091309 signer_provider : node. keys_manager ,
@@ -1651,7 +1651,7 @@ pub fn exchange_open_accept_chan<'a, 'b, 'c>(
16511651 42
16521652 ) ;
16531653 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 {
16551655 let events = node_b. node . get_and_clear_pending_events ( ) ;
16561656 assert_eq ! ( events. len( ) , 1 ) ;
16571657 match & events[ 0 ] {
@@ -1830,7 +1830,7 @@ pub fn create_unannounced_chan_between_nodes_with_value<'a, 'b, 'c, 'd>(
18301830 let node_a_id = nodes[ a] . node . get_our_node_id ( ) ;
18311831 let node_b_id = nodes[ b] . node . get_our_node_id ( ) ;
18321832
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 ( ) ;
18341834 no_announce_cfg. channel_handshake_config . announce_for_forwarding = false ;
18351835 nodes[ a]
18361836 . node
0 commit comments