Platform: Code4rena
Start Date: 20/01/2022
Pot Size: $50,000 USDC
Total HM: 3
Participants: 35
Period: 7 days
Judge: GalloDaSballo
Total Solo HM: 2
Id: 77
League: ETH
Rank: 25/35
Findings: 1
Award: $13.98
🌟 Selected for report: 1
🚀 Solo Findings: 0
🌟 Selected for report: wuwe1
Also found by: Ruhum, WatchPug, csanuragjain, gzeon
13.9797 USDC - $13.98
wuwe1
redundant code
remove Exchange.sol#L266-L269
#0 - GalloDaSballo
2022-02-04T00:42:00Z
Interestingly the warden advise to remove the 0 check to save gas, what will the 0 check people say?
#1 - GalloDaSballo
2022-02-04T00:45:34Z
As linked by the warden the 0 check also happens in the library. As such the 0 check in the external function is redundant. Agree with the finding