Skip to content

Commit

Permalink
kaiax/reward: Ignore nil CLStakingInfos
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonLewis committed Dec 31, 2024
1 parent 20a232c commit 5fe6901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kaiax/reward/impl/getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ func specWithProposerAndFunds(spec *reward.RewardSpec, config *reward.RewardConf
}

newSpec.Proposer = proposer
if !config.Rules.IsPrague {
if !config.Rules.IsPrague || si.CLStakingInfos == nil {
newSpec.IncRecipient(config.Rewardbase, proposer)
return newSpec
}
Expand Down

0 comments on commit 5fe6901

Please sign in to comment.