Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie Dankel <47993817+sdankel@users.noreply.github.com>
  • Loading branch information
kayagokalp and sdankel authored Aug 2, 2023
1 parent 4c3acf8 commit 5256eb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions forc-plugins/forc-client/src/util/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ impl<Tx: Buildable + SerializableVec + field::Witnesses + Send> TransactionBuild
}
}
let prompt = format!(
"\nPlease provide the password of your encrypted wallet vault at {wallet_path:?}:"
"\nPlease provide the password of your encrypted wallet vault at {wallet_path:?}: "
);
let password = rpassword::prompt_password(prompt)?;
let verification = AccountVerification::Yes(password.clone());
Expand All @@ -205,7 +205,7 @@ impl<Tx: Buildable + SerializableVec + field::Witnesses + Send> TransactionBuild
}
print_account_balances(&accounts, &account_balances);

print!("\nPlease provide the index of account to use for signing:");
print!("\nPlease provide the index of account to use for signing: ");
std::io::stdout().flush()?;
let mut account_index = String::new();
std::io::stdin().read_line(&mut account_index)?;
Expand All @@ -224,7 +224,7 @@ impl<Tx: Buildable + SerializableVec + field::Witnesses + Send> TransactionBuild
let hashed = public_key.hash();
let bech32 = Bech32Address::new(FUEL_BECH32_HRP, hashed);
let question = format!(
"Do you accept to sign this transaction with {}? [y/N]: ",
"Do you agree to sign this transaction with {}? [y/N]: ",
bech32
);
let accepted = ask_user_yes_no_question(&question)?;
Expand Down

0 comments on commit 5256eb8

Please sign in to comment.