solana-validator now supports multiple --authorized-voter arguments (#9174)
* Use Epoch type * Vote account's authorized voter is now supported without a validator restart
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user