CLI: Fix explicitly plumb vote_account through create-vote-account

This commit is contained in:
Trent Nelson
2020-07-13 21:27:41 -06:00
committed by Trent Nelson
parent 2284699889
commit 14ac233d01
4 changed files with 15 additions and 2 deletions

View File

@ -58,6 +58,7 @@ fn test_stake_delegation_force() {
let vote_keypair = Keypair::new();
config.signers = vec![&default_signer, &vote_keypair];
config.command = CliCommand::CreateVoteAccount {
vote_account: 1,
seed: None,
identity_account: 0,
authorized_voter: None,

View File

@ -50,6 +50,7 @@ fn test_vote_authorize_and_withdraw() {
let vote_account_pubkey = vote_account_keypair.pubkey();
config.signers = vec![&default_signer, &vote_account_keypair];
config.command = CliCommand::CreateVoteAccount {
vote_account: 1,
seed: None,
identity_account: 0,
authorized_voter: None,