fix: set scriptSig when spending from coinbase
This commit is contained in:
parent
f0fe84d959
commit
35e4eb6cc3
|
@ -425,6 +425,7 @@ def parse_input(vds):
|
|||
d['sequence'] = sequence
|
||||
if prevout_hash == '00'*32:
|
||||
d['type'] = 'coinbase'
|
||||
d['scriptSig'] = bh2u(scriptSig)
|
||||
else:
|
||||
d['x_pubkeys'] = []
|
||||
d['pubkeys'] = []
|
||||
|
|
Loading…
Reference in New Issue