@@ -127,8 +127,14 @@ use chain::ChainSource;
127127use config:: {
128128 //default_user_config, may_announce_channel, ChannelConfig, Config,
129129 //BACKGROUND_TASK_SHUTDOWN_TIMEOUT_SECS, LDK_EVENT_HANDLER_SHUTDOWN_TIMEOUT_SECS,
130- default_user_config, may_announce_channel, AsyncPaymentsRole , ChannelConfig , Config ,
131- NODE_ANN_BCAST_INTERVAL , PEER_RECONNECTION_INTERVAL , RGS_SYNC_INTERVAL ,
130+ default_user_config,
131+ may_announce_channel,
132+ AsyncPaymentsRole ,
133+ ChannelConfig ,
134+ Config ,
135+ NODE_ANN_BCAST_INTERVAL ,
136+ PEER_RECONNECTION_INTERVAL ,
137+ RGS_SYNC_INTERVAL ,
132138} ;
133139use connection:: ConnectionManager ;
134140pub use error:: Error as NodeError ;
@@ -342,7 +348,7 @@ impl Node {
342348 }
343349 }
344350 }
345- } , runtime_handle ) ;
351+ } ) ;
346352 }
347353
348354 if let Some ( pathfinding_scores_sync_url) = self . pathfinding_scores_sync_url . as_ref ( ) {
@@ -507,7 +513,7 @@ impl Node {
507513 }
508514 }
509515 }
510- } , runtime_handle ) ;
516+ } ) ;
511517
512518 // Regularly broadcast node announcements.
513519 let bcast_cm = Arc :: clone ( & self . channel_manager ) ;
@@ -590,7 +596,7 @@ impl Node {
590596 }
591597 }
592598 }
593- } , runtime_handle ) ;
599+ } ) ;
594600 }
595601
596602 let stop_tx_bcast = self . stop_sender . subscribe ( ) ;
@@ -709,9 +715,7 @@ impl Node {
709715 }
710716 }
711717 }
712- } ,
713- runtime_handle,
714- ) ;
718+ } ) ;
715719 }
716720
717721 log_info ! ( self . logger, "Startup complete." ) ;
@@ -1538,6 +1542,7 @@ impl Node {
15381542 } ,
15391543 )
15401544 } ) ;
1545+ }
15411546
15421547 /// Manually sync the LDK and BDK wallets with the current chain state and update the fee rate
15431548 /// cache.
0 commit comments