Skip to content

Commit f05586a

Browse files
committed
fix titan quoting for dsol
1 parent 8198704 commit f05586a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/src/titan/titanClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class TitanClient {
150150
amount: amount.toString(),
151151
userPublicKey: userPublicKey.toString(),
152152
...(slippageBps && { slippageBps: slippageBps.toString() }),
153-
...(swapMode && { swapMode: normalizedSwapMode }),
153+
...(swapMode && { swapMode: normalizedSwapMode.toString() }),
154154
...(maxAccounts && { accountsLimitTotal: maxAccounts.toString() }),
155155
...(excludeDexes && { excludeDexes: excludeDexes.join(',') }),
156156
...(onlyDirectRoutes && {

0 commit comments

Comments
 (0)