Skip to content

Commit a442e3e

Browse files
committed
fix redeem on pendle
1 parent b07e0ce commit a442e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swapService/strategies/balmySDK/sources/pendleQuoteSource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class CustomPendleQuoteSource
154154
receiver: recipient || takeFrom,
155155
slippage: slippagePercentage / 100, // 1 = 100%
156156
enableAggregator: true,
157-
yt: market?.yt.slice(2),
157+
yt: market?.yt.split("-")[1],
158158
amountIn: order.sellAmount.toString(),
159159
tokenOut: buyToken,
160160
}

0 commit comments

Comments
 (0)