Open code423n4 opened 2 years ago
_resetUInt256Config
_resetAddressConfig
Preperable.sol
Preperable.sol#L86 Preperable.sol#L98
The require statements on lines 86 and 98 fail if the deadlines are zero. However, the error DEADLINE_NOT_ZERO shows "deadline must be 0".
The error should display something like "deadline must not be 0"
I consider this report to be of particularly high quality
N-01: Incorrect error in
_resetUInt256Config
and_resetAddressConfig
functions ofPreperable.sol
contractLine References
Preperable.sol#L86 Preperable.sol#L98
Description
The require statements on lines 86 and 98 fail if the deadlines are zero. However, the error DEADLINE_NOT_ZERO shows "deadline must be 0".
The error should display something like "deadline must not be 0"