Set bootstrap leader and net/ validator vote account commission to 100%

This commit is contained in:
Michael Vines 2020-01-14 23:29:41 -07:00
parent b16c30b4c6
commit 50c1c08235
2 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
let bootstrap_leader_vote_account = vote_state::create_account(
&bootstrap_vote_pubkey,
&bootstrap_leader_pubkey,
0,
100,
VoteState::get_rent_exempt_reserve(&rent).max(1),
);

View File

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