File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ const LDK_PAYMENT_RETRY_TIMEOUT: Duration = Duration::from_secs(10);
173
173
const PEER_RECONNECTION_INTERVAL : Duration = Duration :: from_secs ( 10 ) ;
174
174
175
175
// The time in-between node announcement broadcast attempts.
176
- const NODE_ANN_BCAST_INTERVAL : Duration = Duration :: from_secs ( 60 * 10 ) ;
176
+ const NODE_ANN_BCAST_INTERVAL : Duration = Duration :: from_secs ( 60 * 60 ) ;
177
177
178
178
// The length in bytes of our wallets' keys seed.
179
179
const WALLET_KEYS_SEED_LEN : usize = 64 ;
@@ -898,15 +898,11 @@ impl Node {
898
898
return ;
899
899
}
900
900
901
- if !bcast_cm. list_channels ( ) . iter ( ) . any ( |chan| chan. is_public ) {
902
- continue ;
903
- }
901
+ if !bcast_cm. list_channels ( ) . iter ( ) . any ( |chan| chan. is_public ) { continue ; }
904
902
905
903
interval. tick ( ) . await ;
906
904
907
- if !bcast_cm. list_channels ( ) . iter ( ) . any ( |chan| chan. is_public ) {
908
- continue ;
909
- }
905
+ if !bcast_cm. list_channels ( ) . iter ( ) . any ( |chan| chan. is_public ) { continue ; }
910
906
911
907
while bcast_pm. get_peer_node_ids ( ) . is_empty ( ) {
912
908
// Sleep a bit and retry if we don't have any peers yet.
You can’t perform that action at this time.
0 commit comments