Skip to content

Commit

Permalink
Revert "fix: apply default slippage"
Browse files Browse the repository at this point in the history
This reverts commit f3bccb7.
  • Loading branch information
ChiTimesChi committed Jan 13, 2025
1 parent f3bccb7 commit aaf6978
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/rest-api/src/controllers/bridgeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ export const bridgeController = async (req, res) => {
quote.originQuery.tokenOut
)

const { originQuery, destQuery } = Synapse.applyBridgeSlippage(
quote.bridgeModuleName,
quote.originQuery,
quote.destQuery
)

const callData =
destAddress && originUserAddress
? await Synapse.bridge(
Expand All @@ -68,8 +62,8 @@ export const bridgeController = async (req, res) => {
Number(toChain),
fromToken,
amountInWei,
originQuery,
destQuery
quote.originQuery,
quote.destQuery
)
: null

Expand Down

0 comments on commit aaf6978

Please sign in to comment.