Skip to content

Commit 15171ae

Browse files
committed
fixup! feat: refactor getDetailedRoute and add amount details to route info
1 parent de215d4 commit 15171ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/helpers/RouteHelper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ export async function getDetailedRoute(
8787
lastSegment.toCurrency,
8888
fromAmount,
8989
context.ammPools,
90-
context.getContractId
90+
context.getContractId,
91+
route
9192
).catch(() => BigInt(0));
9293

9394
return {

0 commit comments

Comments
 (0)