aftermath-ts-sdk 0.0.164 → 0.0.165

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -495,13 +495,12 @@ RouterGraph.findCompleteRoutes = (graph, routes, coinOut, maxRouteLength, isGive
495
495
  for (const [coinOut, throughPools] of Object.entries(graph.coinNodes[lastPath.coinOut.type]
496
496
  .coinOutThroughPoolEdges)) {
497
497
  for (const poolUid of throughPools) {
498
- if (
499
- // route.paths.some(
500
- // // NOTE: would it ever make sense to go back into a pool ?
501
- // // (could relax this restriction)
502
- // (path) => path.poolUid === poolUid
503
- // )
504
- lastPath.poolUid === poolUid)
498
+ if (route.paths.some(
499
+ // NOTE: would it ever make sense to go back into a pool ?
500
+ // (could relax this restriction)
501
+ (path) => path.poolUid === poolUid)
502
+ // lastPath.poolUid === poolUid
503
+ )
505
504
  continue;
506
505
  if (!(poolUid in graph.pools))
507
506
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aftermath-ts-sdk",
3
- "version": "0.0.164",
3
+ "version": "0.0.165",
4
4
  "description": "Aftermath TypeScript SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",