Skip to content

Commit

Permalink
fix: TransportResult for multi wallet (#6343)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg authored Nov 17, 2023
1 parent 2f513fb commit cd56fe0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/cli/src/opts/wallet/multi_wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,7 @@ impl MultiWallet {
script_wallets: &[LocalWallet],
) -> Result<HashMap<Address, WalletSigner>> {
println!("\n###\nFinding wallets for all the necessary addresses...");
let chain = provider
.get_chain_id()
.await
.success()
.ok_or_else(|| eyre::eyre!("could not fetch chain id"))?
.to();
let chain = provider.get_chain_id().await.wrap_err("could not fetch chain id")?.to();

let mut local_wallets = HashMap::new();
let mut unused_wallets = vec![];
Expand Down

0 comments on commit cd56fe0

Please sign in to comment.