AbstractRewardMine.getRewardOwnershipFraction shouldn't be used internally #114
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
hyh
Vulnerability details
Impact
Gas is overspent on function calls.
Proof of Concept
earned
function calls publicgetRewardOwnershipFraction
function:https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/AbstractRewardMine.sol#L144
Recommended Mitigation Steps
Now:
To be:
The text was updated successfully, but these errors were encountered: