Closed code423n4 closed 3 years ago
a_delamo
Low
Here you have a gist: https://gist.github.com/alexon1234/4d0a70e435c418f58129d8ec5964c30e
Just adding a validation that amt > 0 will be fine
Not a bug, intended since it saves gas
Handle
a_delamo
Vulnerability details
Impact
Low
Proof of Concept
Here you have a gist: https://gist.github.com/alexon1234/4d0a70e435c418f58129d8ec5964c30e
Recommended Mitigation Steps
Just adding a validation that amt > 0 will be fine