net: disconnect from seed after performing seed protocol

This commit is contained in:
lunar-mining
2022-06-24 11:11:19 +02:00
parent 249e4d46b6
commit 9e07f7a216

View File

@@ -107,7 +107,8 @@ impl SeedSession {
self.clone().register_channel(channel.clone(), executor.clone()).await?;
//self.attach_protocols(channel, hosts, settings, executor).await?;
debug!("Disconnecting from seed #{} [{}]", seed_index, seed);
channel.stop().await;
debug!(target: "net", "SeedSession::start_seed(i={}) [END]", seed_index);
Ok(())