Open code423n4 opened 3 years ago
loop
In basket.sol there is one use of uint rather than uint256, which is used in the rest of the codebase.
uint
uint256
No real impact considering uint functions as a uint256.
Basket.sol - line 60: for (uint i = 0; i < length; i++) {
for (uint i = 0; i < length; i++) {
Agree with finding because of consistency
Handle
loop
Vulnerability details
In basket.sol there is one use of
uint
rather thanuint256
, which is used in the rest of the codebase.Impact
No real impact considering
uint
functions as auint256
.Proof of Concept
Basket.sol - line 60:
for (uint i = 0; i < length; i++) {