Skip to content

Commit

Permalink
revert a change
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelQZQ committed Nov 7, 2023
1 parent b57c809 commit 45b6759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ThalaswapRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class ThalaswapRouter {
const tokenOutDecimals = this.coins!.find(
(coin) => coin.address === route.path[route.path.length - 1].to,
)!.decimals;
const args: [number, number] =
const args =
route.type === "exact_input"
? [
scaleUp(route.amountIn, tokenInDecimals),
Expand Down

0 comments on commit 45b6759

Please sign in to comment.