Skip to content

Commit

Permalink
fix: fairyproof 3.2 Recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGuru7 committed Aug 2, 2023
1 parent bb6e878 commit 586f98c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/VToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,9 @@ contract VToken is
* @param kind kind of reserve
*/
function _reduceReservesFresh(uint256 reduceAmount, IProtocolShareReserve.IncomeType kind) internal {
if (reduceAmount == 0) {
return;
}
// totalReserves - reduceAmount
uint256 totalReservesNew;

Expand Down

0 comments on commit 586f98c

Please sign in to comment.