chore: fix comment positionning on manual_session

This commit is contained in:
lunar-mining
2024-01-14 11:38:44 +01:00
parent e40405a257
commit f08ce9a4c8

View File

@@ -126,10 +126,11 @@ impl ManualSession {
let stop_sub =
channel.subscribe_stop().await.expect("Channel should not be stopped");
// Channel is now connected but not yet setup
// Register the new channel
self.register_channel(channel.clone(), ex.clone()).await?;
// Channel is now connected but not yet setup
// Remove pending lock since register_channel will add the channel to p2p
self.p2p().remove_pending(&addr).await;