Open code423n4 opened 3 years ago
pauliax
While this does not bring any serious harm, I think function cancel should only be callable once for the same order so that you will not be flooded with Cancel events.
Add a require !cancelled[hash];
Yea we considered this a bit and figured that the marginal UX improvement wasnt worth it over the marginal gas increase 🤷
Handle
pauliax
Vulnerability details
Impact
While this does not bring any serious harm, I think function cancel should only be callable once for the same order so that you will not be flooded with Cancel events.
Recommended Mitigation Steps
Add a require !cancelled[hash];