Cleanup test utilities (#11725)

Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
carllin
2020-08-20 00:10:18 -07:00
committed by GitHub
parent 8575514235
commit 5255a6ebd2
15 changed files with 161 additions and 139 deletions

View File

@@ -513,7 +513,11 @@ mod tests {
genesis_config,
mint_keypair,
voting_keypair: _,
} = create_genesis_config_with_vote_accounts(1_000_000_000, &validator_keypairs, 100);
} = create_genesis_config_with_vote_accounts(
1_000_000_000,
&validator_keypairs,
vec![100; validator_keypairs.len()],
);
let node_keypair = Keypair::from_bytes(&node_keypair).unwrap();
let vote_keypair = Keypair::from_bytes(&vote_keypair).unwrap();