Skip to content

Commit

Permalink
fix: origin slippage
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Jan 2, 2025
1 parent 1eaf140 commit 5e78038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-router/src/rfq/sirSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export class SynapseIntentRouterSet extends SynapseModuleSet {
}
originSteps[originSteps.length - 1].zapData = modifyMinFinalAmount(
hexlify(originSteps[originSteps.length - 1].zapData),
minAmountFinalAmount
originQuery.minAmountOut
)
originQuery.rawParams = encodeStepParams(originSteps)
return originQuery
Expand Down

0 comments on commit 5e78038

Please sign in to comment.