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 d6b40b6 commit a272306
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/extensions/FeeTaker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ 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 (integratorFee + resolverFee == 0) revert InconsistentFee();

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

0 comments on commit a272306

Please sign in to comment.