Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasMSg committed Sep 29, 2023
1 parent 756b9f1 commit 049625d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/marketplace/contracts/exchange/ExchangeCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ abstract contract ExchangeCore is Initializable, TransferExecutor, ITransferMana
LibFeeSide.getFeeSide(makeMatch.assetClass, takeMatch.assetClass)
);

// TODO: this force me to pass from, do we want it ?
// TODO: this force me to pass from, do we want it ?
// answer it was cut out with native orders
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,13 @@ abstract contract TransferManager is ERC165Upgradeable, ITransferManager {
LibDeal.DealSide memory right,
LibFeeSide.FeeSide feeSide
) internal override {
<<<<<<< HEAD
if (feeSide == LibFeeSide.FeeSide.LEFT) {
doTransfersWithRoyalties(left, right);
=======
if (dealData.feeSide == LibFeeSide.FeeSide.LEFT) {
doTransfersWithFees(left, right, dealData.maxFeesBasePoint);
>>>>>>> format fix
transferPayouts(right.asset.assetType, right.asset.value, right.from, left.payouts);
} else if (feeSide == LibFeeSide.FeeSide.RIGHT) {
doTransfersWithRoyalties(right, left);
Expand Down

0 comments on commit 049625d

Please sign in to comment.