Open code423n4 opened 2 years ago
goatbug
Line 58 Auction bondTimestamp = block.number;
Setting a variable labelled as a timestamp to a block number, this is misleading and causing errors on the timelocks.
Timestamp != blocknumber
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
not an exploit
Agree with finding, the variable name can be improved At the same time, this is not a vulnerability nor any mistake, as such this is a non-critical finding
Handle
goatbug
Vulnerability details
Impact
Line 58 Auction bondTimestamp = block.number;
Setting a variable labelled as a timestamp to a block number, this is misleading and causing errors on the timelocks.
Timestamp != blocknumber
Proof of Concept
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
Tools Used
Recommended Mitigation Steps