Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit b97849d

Browse files
committed
Code cleanup v2
1 parent 2cd7adb commit b97849d

File tree

4 files changed

+39
-150
lines changed

4 files changed

+39
-150
lines changed

stake-pool/cli/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ fn command_list(config: &Config, pool: &Pubkey) -> CommandResult {
607607
for validator in validator_list.validators {
608608
println!(
609609
"Vote Account: {}\tBalance: {}\tEpoch: {}",
610-
validator.validator_account, validator.balance, validator.last_update_epoch
610+
validator.vote_account, validator.balance, validator.last_update_epoch
611611
);
612612
}
613613
}
@@ -654,7 +654,7 @@ fn command_update(config: &Config, pool: &Pubkey) -> CommandResult {
654654
} else {
655655
let (stake_account, _) = find_stake_address_for_validator(
656656
&spl_stake_pool::id(),
657-
&item.validator_account,
657+
&item.vote_account,
658658
&pool,
659659
);
660660
Some(stake_account)

0 commit comments

Comments
 (0)