Skip to content

Commit 011303e

Browse files
committed
Rebase
1 parent bd1ac2e commit 011303e

File tree

2 files changed

+10
-29
lines changed

2 files changed

+10
-29
lines changed

Cargo.lock

Lines changed: 9 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

program/src/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ impl Processor {
440440
validate_delegated_amount(stake_account_info, &meta)?;
441441

442442
// Get current activation status at this epoch
443-
let effective_stake = stake.delegation.stake(
443+
let effective_stake = stake.delegation.stake_v2(
444444
clock.epoch,
445445
stake_history,
446446
PERPETUAL_NEW_WARMUP_COOLDOWN_RATE_EPOCH,

0 commit comments

Comments
 (0)