code-423n4 / 2021-04-vader-findings

1 stars 0 forks source link

variable == false -> !variable #288

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

paulius.eth

Vulnerability details

Impact

a bit cheapier when you replace: require(inited == false); with: require(!inited); same with variable == true.

0xBrian commented 3 years ago

At some point we got rid of all comparisons with boolean literals.