We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f3f87b commit 24fbdcdCopy full SHA for 24fbdcd
contracts/staking/libs/Rebates.sol
@@ -87,7 +87,7 @@ library Rebates {
87
uint256 rebateReward = 0;
88
89
// Calculate the rebate rewards for the indexer
90
- if (pool.fees > 0 && _indexerEffectiveAllocatedStake > 0) {
+ if (pool.fees > 0 && pool.effectiveAllocatedStake > 0) {
91
rebateReward = LibCobbDouglas.cobbDouglas(
92
pool.fees, // totalRewards
93
_indexerFees,
0 commit comments