Skip to content

Commit

Permalink
Merge pull request #100 from Ion-Protocol/jun/PAG-L-03
Browse files Browse the repository at this point in the history
L-03 Fix [PAG]
  • Loading branch information
junkim012 authored May 16, 2024
2 parents 9742852 + 24f904c commit ac80d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/token/RewardToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,9 @@ abstract contract RewardToken is
return 0;
}

(uint256 totalSupplyFactorIncrease,,,,) = calculateRewardAndDebtDistribution();
(uint256 totalSupplyFactorIncrease, uint256 totalTreasuryMintAmount,,,) = calculateRewardAndDebtDistribution();

return _normalizedTotalSupply.rayMulDown($.supplyFactor + totalSupplyFactorIncrease);
return _normalizedTotalSupply.rayMulDown($.supplyFactor + totalSupplyFactorIncrease) + totalTreasuryMintAmount;
}

function normalizedTotalSupplyUnaccrued() public view returns (uint256) {
Expand Down

0 comments on commit ac80d55

Please sign in to comment.