Closed robrobbins closed 2 years ago
this is a suggestion from: https://github.com/code-423n4/2022-07-swivel-findings/issues/165
tl;dr - when cancelling an order(s) you don't need to signature check - just check that msg.sender is order.maker
if we are comforable with that -- it's a bit less code and processing. no strong feelings from me either way.
also gatta get a spec on this. will do before merging.
this is a suggestion from: https://github.com/code-423n4/2022-07-swivel-findings/issues/165
tl;dr - when cancelling an order(s) you don't need to signature check - just check that msg.sender is order.maker
if we are comforable with that -- it's a bit less code and processing. no strong feelings from me either way.