Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Nov 20, 2024
1 parent 248d9d2 commit d6b40b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/extensions/FeeTaker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ contract FeeTaker is IPostInteraction, AmountGetterWithFee, Ownable {
uint256 fee = Math.mulDiv(takingAmount, integratorFee, denominator) + Math.mulDiv(takingAmount, resolverFee, denominator);

if (order.receiver.get() == address(this)) {
if (fee == 0) revert InconsistentFee();
if (integratorFee + resolverFee == 0) revert InconsistentFee();

if (order.takerAsset.get() == address(_WETH) && order.makerTraits.unwrapWeth()) {
if (fee > 0) {
Expand Down

0 comments on commit d6b40b6

Please sign in to comment.