Interpret Solana-CLI amount requests in SOL by default (#5866)
automerge
This commit is contained in:
@ -95,7 +95,7 @@ fi
|
||||
|
||||
if ((airdrops_enabled)); then
|
||||
declare fees=100 # TODO: No hardcoded transaction fees, fetch the current cluster fees
|
||||
$solana_cli "${common_args[@]}" airdrop $((stake_lamports+fees))
|
||||
$solana_cli "${common_args[@]}" airdrop $((stake_lamports+fees)) lamports
|
||||
fi
|
||||
|
||||
$solana_keygen new -o "$stake_keypair_path"
|
||||
@ -104,6 +104,5 @@ set -x
|
||||
$solana_cli "${common_args[@]}" \
|
||||
show-vote-account "$vote_keypair_path"
|
||||
$solana_cli "${common_args[@]}" \
|
||||
delegate-stake $maybe_force "$stake_keypair_path" "$vote_keypair_path" "$stake_lamports"
|
||||
delegate-stake $maybe_force "$stake_keypair_path" "$vote_keypair_path" "$stake_lamports" lamports
|
||||
$solana_cli "${common_args[@]}" show-stake-account "$stake_keypair_path"
|
||||
|
||||
|
Reference in New Issue
Block a user