diff --git a/crates/erc20_payment_lib/src/account_balance.rs b/crates/erc20_payment_lib/src/account_balance.rs index 5d66d121..b9a0ed7e 100644 --- a/crates/erc20_payment_lib/src/account_balance.rs +++ b/crates/erc20_payment_lib/src/account_balance.rs @@ -10,6 +10,7 @@ use std::sync::Arc; use structopt::StructOpt; use web3::types::Address; +#[allow(dead_code)] #[derive(Clone, StructOpt)] #[structopt(about = "Payment statistics options")] pub struct BalanceOptions2 { diff --git a/crates/erc20_payment_lib/src/eth.rs b/crates/erc20_payment_lib/src/eth.rs index e157f4a5..450f043d 100644 --- a/crates/erc20_payment_lib/src/eth.rs +++ b/crates/erc20_payment_lib/src/eth.rs @@ -540,12 +540,12 @@ async fn get_balance_using_contract_wrapper( Ok(None) } else { log::error!( - "Error getting balance for account: {:#x} - {}", + "Web3 RPC endpoint(s) failed: Error getting balance for account: {:#x} - {}", args.address, e ); Err(err_custom_create!( - "Error getting balance for account: {:#x} - {}", + "Web3 RPC endpoint(s) failed: Error getting balance for account: {:#x} - {}", args.address, e ))