Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Nov 14, 2023
1 parent e22209f commit 223a509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/erc20_payment_lib/src/account_balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub async fn account_balance(
account_balance_options.chain_name
))?;
let web3_pool = if let Some(ps) = payment_setup {
ps.get_provider(chain_cfg.chain_id as i64).unwrap()
ps.get_provider(chain_cfg.chain_id).unwrap()
} else {
let web3_pool = Arc::new(Web3RpcPool::new(
chain_cfg.chain_id as u64,
Expand Down

0 comments on commit 223a509

Please sign in to comment.