-
Notifications
You must be signed in to change notification settings - Fork 0
Use != 0 instead of > 0 #21
Copy link
Copy link
Open
Labels
G (Gas Optimization)bugSomething isn't workingSomething isn't workingsponsor acknowledgedTechnically the issue is correct, but we're not going to resolve it for XYZ reasonsTechnically the issue is correct, but we're not going to resolve it for XYZ reasons
Metadata
Metadata
Assignees
Labels
G (Gas Optimization)bugSomething isn't workingSomething isn't workingsponsor acknowledgedTechnically the issue is correct, but we're not going to resolve it for XYZ reasonsTechnically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
mics
Vulnerability details
Using != 0 is slightly cheaper than > 0.
see code-423n4/2021-12-maple-findings#75 for similar issue.