From 688ee423ed7deac90ef4425fadf366aca0e12707 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Tue, 16 Nov 2021 21:30:10 +0100 Subject: [PATCH] stake-pool-cli: Fix vote account address in details (#2585) --- stake-pool/cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stake-pool/cli/src/main.rs b/stake-pool/cli/src/main.rs index 4247716e666..24b6022b8b3 100644 --- a/stake-pool/cli/src/main.rs +++ b/stake-pool/cli/src/main.rs @@ -890,7 +890,7 @@ fn command_list(config: &Config, stake_pool_address: &Pubkey) -> CommandResult { ); let update_required = validator.last_update_epoch != epoch_info.epoch; CliStakePoolStakeAccountInfo { - vote_account_address: stake_pool_address.to_string(), + vote_account_address: validator.vote_account_address.to_string(), stake_account_address: stake_account_address.to_string(), validator_active_stake_lamports: validator.active_stake_lamports, validator_last_update_epoch: validator.last_update_epoch,