Skip to content

Commit

Permalink
Use IsCortinaActivated helper (#2048)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrubabasu authored Sep 20, 2023
1 parent 7239239 commit a797b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vms/platformvm/txs/executor/proposal_tx_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ func (e *ProposalTxExecutor) rewardDelegatorTx(uDelegatorTx txs.DelegatorTx, del
}

// Reward the delegatee here
if validator.StartTime.After(e.Config.CortinaTime) {
if e.Config.IsCortinaActivated(validator.StartTime) {
previousDelegateeReward, err := e.OnCommitState.GetDelegateeReward(
validator.SubnetID,
validator.NodeID,
Expand Down

0 comments on commit a797b91

Please sign in to comment.