Skip to content

Commit aa55464

Browse files
authored
Merge pull request #7350 from BitGo/COIN-6191
fix(sdk-coin-canton): bug fix in transaction type
2 parents 87f4cd1 + c0abb73 commit aa55464

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)