Skip to content

Commit

Permalink
fix: Enable Stable pools for non-V3 liquidity.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Sep 17, 2024
1 parent 6664c77 commit be52e55
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/sor/sorV2/lib/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ export async function sorGetPathsWithPools(
basePools.push(ComposableStablePool.fromPrismaPool(prismaPool));
break;
case 'STABLE':
{
if (prismaPool.protocolVersion === 3) {
basePools.push(StablePool.fromPrismaPool(prismaPool));
}
}
basePools.push(StablePool.fromPrismaPool(prismaPool));
break;
case 'META_STABLE':
basePools.push(MetaStablePool.fromPrismaPool(prismaPool));
Expand Down

0 comments on commit be52e55

Please sign in to comment.