Skip to content

Commit dc456af

Browse files
committed
Fixed bug in hasMissingSignatures
1 parent dbf9290 commit dc456af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/model/transaction/Transaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ export abstract class Transaction {
317317
*/
318318
public hasMissingSignatures(): boolean {
319319
return this.transactionInfo != null && this.transactionInfo.height.compact() === 0
320-
&& this.transactionInfo.hash !== undefined
320+
&& (this.transactionInfo.hash !== undefined
321321
&& this.transactionInfo.merkleComponentHash !== undefined
322-
&& this.transactionInfo.hash.toUpperCase() === this.transactionInfo.merkleComponentHash.toUpperCase();
322+
&& this.transactionInfo.hash.toUpperCase() !== this.transactionInfo.merkleComponentHash.toUpperCase());
323323
}
324324

325325
/**

0 commit comments

Comments
 (0)