From 96e7433aa38941a1085eca2b27354e1b7b42dfb0 Mon Sep 17 00:00:00 2001 From: vedhavyas Date: Tue, 14 May 2024 18:54:42 +0530 Subject: [PATCH] update comments and remove resolved todo from XDM --- domains/pallets/messenger/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/domains/pallets/messenger/src/lib.rs b/domains/pallets/messenger/src/lib.rs index c9ff2c3e5c..311f012b80 100644 --- a/domains/pallets/messenger/src/lib.rs +++ b/domains/pallets/messenger/src/lib.rs @@ -551,7 +551,6 @@ mod pallet { /// A new Channel is initiated with a foreign chain. /// Next Channel ID is used to assign the new channel. /// Channel is set to initiated and do not accept or receive any messages. - /// Only a root user can create the channel. #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::initiate_channel())] pub fn initiate_channel( @@ -591,7 +590,6 @@ mod pallet { /// An open channel is closed with a foreign chain. /// Channel is set to Closed and do not accept or receive any messages. - /// Only a root user can close an open channel. #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::close_channel())] pub fn close_channel( @@ -1000,7 +998,6 @@ mod pallet { // if there is no channel config, this must the Channel open request. // so nonce is 0 should_init_channel = true; - // TODO(ved): collect fees to open channel log::debug!( "Initiating new channel: {:?} to chain: {:?}", xdm.channel_id,