Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Remove some TODOs #6488

Merged
merged 4 commits into from
Oct 22, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove stale TODOs
  • Loading branch information
mvines committed Oct 21, 2019
commit 851d3e733902cde04c50b7b9ccd17dd49f009a5a
4 changes: 1 addition & 3 deletions multinode-demo/delegate-stake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,12 @@ if [[ ! -f $vote_keypair_path ]]; then
fi

if [[ -f $stake_keypair_path ]]; then
# TODO: Add ability to add multiple stakes with this script?
echo "Error: $stake_keypair_path already exists"
exit 1
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)) lamports
$solana_cli "${common_args[@]}" airdrop $stake_lamports lamports
fi

$solana_keygen new -o "$stake_keypair_path"
Expand Down