Signed-off-by: James Zuccon <zuccon@gmail.com>
This commit is contained in:
James Zuccon
2024-09-12 21:38:51 +10:00
parent e308206d9f
commit a158505b5f
+1
View File
@@ -109,6 +109,7 @@ export class Transaction {
public isCoinbase(): boolean {
// TODO: This definitely needs checking.
// TODO: You're a moron Jim. outpointTransactionHash is 0x00 x 32 for Coinbase.
// A coinbase transaction MUST only have one input.
if (this.getInputs().length > 1) {