@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user