File tree 1 file changed +2
-3
lines changed
packages/plugin-solana/src/actions
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,7 @@ export const executeSwap: Action = {
205
205
} ) ;
206
206
207
207
console . log ( "Response:" , response ) ;
208
- const type =
209
- response . inputTokenSymbol ?. toUpperCase ( ) === "SOL" ? "buy" : "sell" ;
208
+ // const type = response.inputTokenSymbol?.toUpperCase() === "SOL" ? "buy" : "sell";
210
209
211
210
// Add SOL handling logic
212
211
if ( response . inputTokenSymbol ?. toUpperCase ( ) === "SOL" ) {
@@ -287,7 +286,7 @@ export const executeSwap: Action = {
287
286
false
288
287
) ;
289
288
290
- const provider = new WalletProvider ( connection , walletPublicKey ) ;
289
+ // const provider = new WalletProvider(connection, walletPublicKey);
291
290
292
291
console . log ( "Wallet Public Key:" , walletPublicKey ) ;
293
292
console . log ( "inputTokenSymbol:" , response . inputTokenCA ) ;
You can’t perform that action at this time.
0 commit comments