File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
modules/sdk-coin-sol/src/lib Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -329,6 +329,9 @@ export function getTransactionType(transaction: SolTransaction): TransactionType
329329 // check if deactivate instruction does not exist because deactivate can be include a transfer instruction
330330 const memoInstruction = instructions . find ( ( instruction ) => getInstructionType ( instruction ) === 'Memo' ) ;
331331 const memoData = memoInstruction ?. data . toString ( 'utf-8' ) ;
332+ if ( memoData ?. includes ( 'WalletConnectDefiCustomTx' ) ) {
333+ return TransactionType . CustomTx ;
334+ }
332335 if ( instructions . filter ( ( instruction ) => getInstructionType ( instruction ) === 'Deactivate' ) . length === 0 ) {
333336 for ( const instruction of instructions ) {
334337 const instructionType = getInstructionType ( instruction ) ;
You can’t perform that action at this time.
0 commit comments