Open code423n4 opened 2 years ago
using a constant here, and not the actual value, introduces a vulnerability where a single 721 is transferred but multiple items are expected
Merging with https://github.com/code-423n4/2022-05-opensea-seaport-findings/issues/190
Reopening as with this there is now 1 valid low.
1. Title: Set amount to 1, to minimize error https://github.com/code-423n4/2022-05-opensea-seaport/blob/main/contracts/lib/Executor.sol#L81
we can set this value constantly as 1, there is no need that this value should be dynamically set, since the _transferERC721() will check if the amount value is 1, and we can remove this check to make it cheaper overall