You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (_amounts[1] > 0 || _amounts[2] > 0) {
// Use renbtc and wbtc to mint ibbtc
// NOTE: Can change to external zap if implemented
depositAmounts[0] += _renZapToIbbtc([_amounts[1], _amounts[2]]);
}
Even though it's unlikely to overflow in this particular case, we still recommend using SafeMath instead.
The text was updated successfully, but these errors were encountered:
Handle
WatchPug
Vulnerability details
https://github.com/Badger-Finance/badger-ibbtc-utility-zaps/blob/8d265aacb905d30bd95dcd54505fb26dc1f9b0b6/contracts/IbbtcVaultZap.sol#L179-L183
Even though it's unlikely to overflow in this particular case, we still recommend using SafeMath instead.
The text was updated successfully, but these errors were encountered: