Skip to content

Commit

Permalink
Merge pull request #2766 from subspace/update_comments
Browse files Browse the repository at this point in the history
update comments and remove resolved todo from XDM
  • Loading branch information
vedhavyas authored May 14, 2024
2 parents 9a40475 + 96e7433 commit 0dc1ce8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions domains/pallets/messenger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0dc1ce8

Please sign in to comment.