Skip to content

Commit c0abb73

Browse files
committed
fix(sdk-coin-canton): bug fix in transaction type
Ticket: COIN-6191
1 parent 87f4cd1 commit c0abb73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/sdk-coin-canton/src/lib/transaction/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class Transaction extends BaseTransaction {
165165
const decoded: TransactionBroadcastData = JSON.parse(Buffer.from(rawTx, 'base64').toString('utf8'));
166166
this.id = decoded.submissionId;
167167
this.transactionType = TransactionType[decoded.txType];
168-
if (this.transactionType !== TransactionType.TransferAcknowledge) {
168+
if (this.type !== TransactionType.TransferAcknowledge) {
169169
if (decoded.prepareCommandResponse) {
170170
this.prepareCommand = decoded.prepareCommandResponse;
171171
}

0 commit comments

Comments
 (0)