Skip to content

Commit

Permalink
Remove redundant check i the bulk buy method
Browse files Browse the repository at this point in the history
  • Loading branch information
hexlivelive committed Jan 10, 2024
1 parent 7c882a1 commit 69cfe01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -277,7 +277,7 @@ contract MintraDirectListings is IDirectListings, Multicall, ReentrancyGuard {
}

// Make sure that the total price for items bought with PLS is equal to the amount sent
require(msg.value == totalAmountPls || (totalAmountPls == 0 && msg.value == 0), "Incorrect PLS amount sent");
require(msg.value == totalAmountPls, "Incorrect PLS amount sent");
}

/// @notice Buy NFTs from a listing.
Expand Down

0 comments on commit 69cfe01

Please sign in to comment.