Submitted by WatchPug
https://github.com/code-423n4/2021-12-nftx/blob/194073f750b7e2c9a886ece34b6382b4f1355f36/nftx-protocol-v2/contracts/solidity/NFTXMarketplaceZap.sol#L226-L249
For example:
If Alice calls buyAndSwap721WETH() to buy some ERC721 and send to Bob, for slippage control, Alice put 1000 ETH as maxWethIn, the actual cost should be lower.
Lets say the actual cost is 900 ETH.
Expected Results: Alice spend only for the amount of the actual cost (900 ETH).
Actual Results: Alice spent 1000 ETH.
0xKiwi (NFTX) acknowledged, but disagreed with medium severity and commented:
LSDan (judge) commented:
