Skip to content

Commit

Permalink
Stop disconnecting, as LND can't reconnect well
Browse files Browse the repository at this point in the history
  • Loading branch information
litch committed Jan 17, 2023
1 parent 1aa17cd commit 29bd9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ pub async fn spaz_out(config_holder: Arc<RwLock<Config>>) -> Result<(), Error> {
let rpc_path = config_holder.read().unwrap().rpc_path.clone();
let client = Arc::new(ClnClient { rpc_path: rpc_path } );
maybe_randomize_channel_fee(client.clone()).await?;
maybe_disconnect_random_peer(client.clone()).await?;
// maybe_disconnect_random_peer(client.clone()).await?;
maybe_keysend_random_node(client.clone()).await?;
manage_channel_count(client.clone(), config_holder).await?;
maybe_poke_node(client.clone()).await?;
Expand Down

0 comments on commit 29bd9db

Please sign in to comment.