Skip to content

Commit

Permalink
updated soroswap router sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinsoza committed Jun 26, 2024
1 parent 84cc6da commit 4ef9e65
Show file tree
Hide file tree
Showing 3 changed files with 1,112 additions and 1,113 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"react-virtualized-auto-sizer": "^1.0.20",
"react-window": "^1.8.9",
"redux": "^4.2.1",
"soroswap-router-sdk": "^1.2.8",
"soroswap-router-sdk": "^1.2.9",
"swr": "^2.2.0",
"typescript": "5.3.3",
"use-resize-observer": "^9.1.0"
Expand Down
4 changes: 2 additions & 2 deletions src/functions/generateRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export const useRouterSDK = () => {
const quoteCurrency = fromAddressToToken(quoteTokenAddress);

if (isAggregator) {
// console.log('Returning routeSplit');
// console.log(await router.routeSplit(currencyAmount, quoteCurrency, tradeType));
console.log('Returning routeSplit');
console.log(await router.routeSplit(currencyAmount, quoteCurrency, tradeType));
return router.routeSplit(currencyAmount, quoteCurrency, tradeType);
}

Expand Down
Loading

0 comments on commit 4ef9e65

Please sign in to comment.