Skip to content

Commit

Permalink
Merge pull request #173 from levelkdev/feature/1277-enable-lower-slip…
Browse files Browse the repository at this point in the history
…page-for-zerox

feature / Enable lower slippage for zeroX
  • Loading branch information
mwiniarsk authored Jul 28, 2022
2 parents 53d6fb9 + 6ef9fc5 commit 3eacdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/trades/0x/0xTrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class ZeroXTrade extends TradeWithSwapTransaction {
}&slippagePercentage=${new Percent(
maximumSlippage.numerator,
JSBI.multiply(maximumSlippage.denominator, JSBI.BigInt(100))
).toFixed(3)}`
).toFixed(4)}`
)

if (!response.ok) throw new Error('response not ok')
Expand Down

0 comments on commit 3eacdf2

Please sign in to comment.