chore: cargo +nightly clippy --fix -Z unstable-options

This commit is contained in:
Alexander Meißner
2021-06-18 15:34:46 +02:00
committed by Michael Vines
parent 3570b00560
commit 6514096a67
177 changed files with 1021 additions and 1021 deletions

View File

@@ -191,15 +191,15 @@ pub fn create_genesis_config_with_leader_ex(
mut initial_accounts: Vec<(Pubkey, AccountSharedData)>,
) -> GenesisConfig {
let validator_vote_account = vote_state::create_account(
&validator_vote_account_pubkey,
&validator_pubkey,
validator_vote_account_pubkey,
validator_pubkey,
0,
validator_stake_lamports,
);
let validator_stake_account = stake_state::create_account(
validator_stake_account_pubkey,
&validator_vote_account_pubkey,
validator_vote_account_pubkey,
&validator_vote_account,
&rent,
validator_stake_lamports,