diff --git a/bridges/bin/millau/node/src/cli.rs b/bridges/bin/millau/node/src/cli.rs index 49f4fc092f..086def633c 100644 --- a/bridges/bin/millau/node/src/cli.rs +++ b/bridges/bin/millau/node/src/cli.rs @@ -32,7 +32,7 @@ pub enum Subcommand { /// Key management CLI utilities Key(sc_cli::KeySubcommand), - /// Verify a signature for a message, provided on STDIN, with a given (public or secret) key. + /// Verify a signature for a message, provided on `STDIN`, with a given (public or secret) key. Verify(sc_cli::VerifyCmd), /// Generate a seed that provides a vanity address. diff --git a/bridges/bin/rialto/node/src/cli.rs b/bridges/bin/rialto/node/src/cli.rs index 49f4fc092f..086def633c 100644 --- a/bridges/bin/rialto/node/src/cli.rs +++ b/bridges/bin/rialto/node/src/cli.rs @@ -32,7 +32,7 @@ pub enum Subcommand { /// Key management CLI utilities Key(sc_cli::KeySubcommand), - /// Verify a signature for a message, provided on STDIN, with a given (public or secret) key. + /// Verify a signature for a message, provided on `STDIN`, with a given (public or secret) key. Verify(sc_cli::VerifyCmd), /// Generate a seed that provides a vanity address. diff --git a/bridges/modules/ethereum/src/lib.rs b/bridges/modules/ethereum/src/lib.rs index ebb36edbe5..6c9f9d23c0 100644 --- a/bridges/modules/ethereum/src/lib.rs +++ b/bridges/modules/ethereum/src/lib.rs @@ -111,7 +111,7 @@ pub struct StoredHeader { pub struct ValidatorsSet { /// Validators of this set. pub validators: Vec
, - /// Hash of the block where this set has been signalled. None if this is the first set. + /// Hash of the block where this set has been signaled. None if this is the first set. pub signal_block: Option, /// Hash of the block where this set has been enacted. pub enact_block: HeaderId, diff --git a/bridges/modules/grandpa/src/lib.rs b/bridges/modules/grandpa/src/lib.rs index 6c25968630..96a58aa8a5 100644 --- a/bridges/modules/grandpa/src/lib.rs +++ b/bridges/modules/grandpa/src/lib.rs @@ -567,7 +567,7 @@ pub(crate) fn find_scheduled_change(header: &H) -> Option( header: &H, diff --git a/bridges/modules/token-swap/src/lib.rs b/bridges/modules/token-swap/src/lib.rs index 4694781f09..dde25d8cb2 100644 --- a/bridges/modules/token-swap/src/lib.rs +++ b/bridges/modules/token-swap/src/lib.rs @@ -379,7 +379,7 @@ pub mod pallet { Some(TokenSwapState::Started) => fail!(Error::::SwapIsPending), Some(TokenSwapState::Confirmed) => fail!(Error::::SwapIsConfirmed), Some(TokenSwapState::Failed) => { - // we allow cancelling swap even before lock period is over - the `source_account_at_this_chain` + // we allow canceling swap even before lock period is over - the `source_account_at_this_chain` // has already paid for nothing and it is up to him to decide whether he want to try again } None => fail!(Error::::SwapIsInactive), diff --git a/bridges/relays/bin-ethereum/src/rpc_errors.rs b/bridges/relays/bin-ethereum/src/rpc_errors.rs index 27b233135f..06307bcf39 100644 --- a/bridges/relays/bin-ethereum/src/rpc_errors.rs +++ b/bridges/relays/bin-ethereum/src/rpc_errors.rs @@ -25,7 +25,7 @@ use relay_utils::MaybeConnectionError; pub enum RpcError { /// The arguments to the RPC method failed to serialize. Serialization(serde_json::Error), - /// An error occured when interacting with an Ethereum node. + /// An error occurred when interacting with an Ethereum node. Ethereum(EthereumNodeError), /// An error occured when interacting with a Substrate node. Substrate(SubstrateNodeError),