In the createSellOrder function, there is no handling for the minimum value of _deadlineDuration, which causes the sell order to expire immediately, preventing the buyer from successfully completing the transaction! This breaks the expected functionality of the protocol!!
Likelihood:
Reason 1: Ordinary seller's erroneous operation, setting _deadlineDuration to an extremely small value!
Impact:
Impact 1: Causes the sell order to expire immediately after creation, preventing the buyer from successfully completing the transaction!
Output
Handle the minimum value of _deadlineDuration to ensure that the value of _deadlineDuration is reasonable!
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.