Skip to content

Commit

Permalink
fix: slippage
Browse files Browse the repository at this point in the history
  • Loading branch information
rhlsthrm committed Dec 18, 2024
1 parent f781120 commit f929d49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/app/_components/dialogs/loop/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { getQuote } from '@lifi/sdk';
import { useQueryClient } from '@tanstack/react-query';
import millify from 'millify';
import {
type Hex,
type Address,
formatEther,
formatUnits,
Hex,
parseEther,
parseUnits,
zeroAddress
Expand Down Expand Up @@ -422,7 +422,7 @@ export default function Loop({
'0x',
quoteFinal.transactionRequest!.to! as Address,
quoteFinal.transactionRequest!.data! as Hex,
0n
BigInt(Math.ceil(slippageWithBufferInBps))
]
});

Expand Down

0 comments on commit f929d49

Please sign in to comment.