File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
modules/sdk-coin-canton/src Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -104,10 +104,12 @@ export class Canton extends BaseCoin {
104104 const txBuilder = new TransactionBuilderFactory ( coinConfig ) . from ( rawTx ) ;
105105 const transaction = txBuilder . transaction ;
106106 switch ( transaction . type ) {
107- case TransactionType . WalletInitialization : {
108- // there is no input for this type of transaction, so always return true
107+ case TransactionType . WalletInitialization :
108+ case TransactionType . TransferAccept :
109+ case TransactionType . TransferReject :
110+ case TransactionType . TransferAcknowledge :
111+ // There is no input for these type of transactions, so always return true.
109112 return true ;
110- }
111113 default : {
112114 throw new Error ( `unknown transaction type, ${ transaction . type } ` ) ;
113115 }
You can’t perform that action at this time.
0 commit comments