Closed code423n4 closed 2 years ago
pedroais
++i is more gas efficient than i++
https://github.com/code-423n4/2022-01-sherlock/blob/c763f10c4b5fe2127677d6c25b83adcf3bcec212/contracts/SherBuy.sol#L186
Dup #111
Handle
pedroais
Vulnerability details
Impact
++i is more gas efficient than i++
Proof of Concept
https://github.com/code-423n4/2022-01-sherlock/blob/c763f10c4b5fe2127677d6c25b83adcf3bcec212/contracts/SherBuy.sol#L186