Interpret Solana-CLI amount requests in SOL by default (#5866)

automerge
This commit is contained in:
Tyera Eulberg
2019-09-10 17:16:40 -06:00
committed by Grimes
parent 008dcd71b9
commit c62a4a1c13
15 changed files with 809 additions and 180 deletions

View File

@ -273,11 +273,11 @@ setup_validator_accounts() {
echo "Adding $node_lamports to validator identity account:"
(
declare fees=100 # TODO: No hardcoded transaction fees, fetch the current cluster fees
wallet airdrop $((node_lamports+fees))
wallet airdrop $((node_lamports+fees)) lamports
) || return $?
else
echo "Validator identity account balance:"
wallet balance || return $?
wallet balance --lamports || return $?
fi
if ! wallet show-vote-account "$voting_keypair_path"; then