Create vote account with 1 lamport instead of 1 SOL

This commit is contained in:
Michael Vines 2019-09-27 08:12:26 -07:00
parent f57e48a209
commit cc05019bbb
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ Your validator will need a vote account. Create it now with the following comman
```bash
$ solana-keygen new -o ~/validator-vote-keypair.json
$ solana create-vote-account ~/validator-vote-keypair.json ~/validator-keypair.json 1
$ solana create-vote-account ~/validator-vote-keypair.json ~/validator-keypair.json 1 lamports
```
Then use one of the following commands, depending on your installation choice, to start the node:

View File

@ -279,7 +279,7 @@ setup_validator_accounts() {
fi
echo "Creating validator vote account"
wallet create-vote-account "$voting_keypair_path" "$identity_keypair_path" 1 --commission 127 || return $?
wallet create-vote-account "$voting_keypair_path" "$identity_keypair_path" 1 lamports --commission 127 || return $?
fi
echo "Validator vote account configured"