code-423n4 / 2021-10-union-findings

0 stars 0 forks source link

UToken: revert on over/underflow checks in addReserve() and removeReserve() are unnecessary #33

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

itsmeSTYJ

Vulnerability details

Impact

Since UToken.sol uses solidity 0.8.0 and above, it comes with built in overflow and underflow checks so the require statements can be removed.

GalloDaSballo commented 3 years ago

Agree