Skip to content

Commit

Permalink
Fix getWhistleblowerRewardQuotient function (#8298)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassaldanha authored May 8, 2024
1 parent 6e6a414 commit 8293a3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private void slashValidator(
int proposerIndex = beaconStateAccessors.getBeaconProposerIndex(state);

final UInt64 whistleblowerReward =
validator.getEffectiveBalance().dividedBy(specConfig.getWhistleblowerRewardQuotient());
validator.getEffectiveBalance().dividedBy(getWhistleblowerRewardQuotient());

if (whistleblowerIndex == -1) {
// proposer takes all rewards
Expand Down

0 comments on commit 8293a3b

Please sign in to comment.