Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Apr 10, 2024
1 parent b51c96c commit 4ee01a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/env/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,6 @@ where
/// # Errors
///
/// - If the message cannot be properly decoded on the `pallet-contracts` side.
/// - If the runtime doesn't allow for the contract unstable feature.
/// - If the XCM execution fails because of the runtime's XCM configuration.
///
/// # Panics
Expand All @@ -930,7 +929,7 @@ where

/// Send an XCM message, using the contract's address as the origin.
///
/// The `msg` argument has to be SCALE encoded, it needs to be decodable to a valid
/// The `msg` argument has to be SCALE encoded, it needs to be decodable to a valid
/// instance of the `RuntimeCall` enum.
///
/// For more details consult
Expand All @@ -939,7 +938,6 @@ where
/// # Errors
///
/// - If the message cannot be properly decoded on the `pallet-contracts` side.
/// - If the runtime doesn't allow for the contract unstable feature.
///
/// # Panics
///
Expand Down

0 comments on commit 4ee01a8

Please sign in to comment.