solana-validator now supports multiple --authorized-voter arguments (#9174) (#9181)

automerge
This commit is contained in:
mergify[bot]
2020-03-31 09:21:47 -07:00
committed by GitHub
parent 47c6dfe1aa
commit 016a342de0
8 changed files with 222 additions and 155 deletions

View File

@@ -219,7 +219,7 @@ impl LocalCluster {
&leader_keypair,
&leader_ledger_path,
&leader_voting_keypair.pubkey(),
&leader_voting_keypair,
vec![leader_voting_keypair.clone()],
&leader_storage_keypair,
None,
true,
@@ -367,7 +367,7 @@ impl LocalCluster {
&validator_keypair,
&ledger_path,
&voting_keypair.pubkey(),
&voting_keypair,
vec![voting_keypair.clone()],
&storage_keypair,
Some(&self.entry_point_info),
true,
@@ -687,7 +687,7 @@ impl Cluster for LocalCluster {
&validator_info.keypair,
&validator_info.ledger_path,
&validator_info.voting_keypair.pubkey(),
&validator_info.voting_keypair,
vec![validator_info.voting_keypair.clone()],
&validator_info.storage_keypair,
entry_point_info,
true,