Skip to content

Commit

Permalink
cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
zees-dev committed Jan 3, 2025
1 parent b587d36 commit ead0e1f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions forc-plugins/forc-client/src/util/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,16 @@ pub(crate) async fn select_account(
}
}

pub(crate) async fn select_local_wallet_account(password: &str, provider: &Provider) -> Result<WalletUnlocked> {
pub(crate) async fn select_local_wallet_account(
password: &str,
provider: &Provider,
) -> Result<WalletUnlocked> {
let wallet_path = default_wallet_path();
let accounts = collect_user_accounts(&wallet_path, password)?;
let account_balances = collect_account_balances(&accounts, provider).await?;
let base_asset_id = provider.base_asset_id();
let selections = format_base_asset_account_balances(&accounts, &account_balances, base_asset_id)?;
let selections =
format_base_asset_account_balances(&accounts, &account_balances, base_asset_id)?;

let mut account_index;
loop {
Expand Down

0 comments on commit ead0e1f

Please sign in to comment.