From f08ce9a4c8027964535f54540b2d9df5ca0ea368 Mon Sep 17 00:00:00 2001 From: lunar-mining Date: Sun, 14 Jan 2024 11:38:44 +0100 Subject: [PATCH] chore: fix comment positionning on manual_session --- src/net/session/manual_session.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/net/session/manual_session.rs b/src/net/session/manual_session.rs index 488f8828b..043708526 100644 --- a/src/net/session/manual_session.rs +++ b/src/net/session/manual_session.rs @@ -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;