fix: set scriptSig when spending from coinbase

This commit is contained in:
SomberNight 2017-09-15 05:36:13 +02:00
parent f0fe84d959
commit 35e4eb6cc3
1 changed files with 1 additions and 0 deletions

View File

@ -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'] = []