Set bootstrap leader and net/ validator vote account commission to 100%
This commit is contained in:
parent
b16c30b4c6
commit
50c1c08235
|
@ -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),
|
||||
);
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue