From de5ac085a1951fc098906209cb190a709bb4ef75 Mon Sep 17 00:00:00 2001 From: Andreas Doerr Date: Sat, 27 Feb 2021 19:13:48 +0100 Subject: [PATCH] Bump Substrate and Deps (#770) * Bump Substrate and Deps * silence clippy --- bridges/relays/ethereum/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bridges/relays/ethereum/src/main.rs b/bridges/relays/ethereum/src/main.rs index b75c0f44bb..3ff6d5499a 100644 --- a/bridges/relays/ethereum/src/main.rs +++ b/bridges/relays/ethereum/src/main.rs @@ -243,6 +243,8 @@ fn ethereum_deploy_contract_params(matches: &clap::ArgMatches) -> Result Some( sub_initial_authorities_set_id @@ -270,6 +272,7 @@ fn ethereum_deploy_contract_params(matches: &clap::ArgMatches) -> Result Result { + #[allow(clippy::manual_map)] let eth_nonce = if let Some(eth_nonce) = matches.value_of("eth-nonce") { Some( relay_ethereum_client::types::U256::from_dec_str(ð_nonce) @@ -329,6 +332,7 @@ fn ethereum_exchange_params(matches: &clap::ArgMatches) -> Result ethereum_exchange::ExchangeRelayMode::Auto(match matches.value_of("eth-start-with-block") { Some(eth_start_with_block) => Some( eth_start_with_block