mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
fix #4046
This commit is contained in:
parent
7ec2bcd70f
commit
135c5e805d
1 changed files with 5 additions and 5 deletions
|
@ -439,16 +439,16 @@ def parse_input(vds):
|
|||
d['prevout_hash'] = prevout_hash
|
||||
d['prevout_n'] = prevout_n
|
||||
d['sequence'] = sequence
|
||||
if prevout_hash == '00'*32:
|
||||
d['type'] = 'coinbase'
|
||||
d['scriptSig'] = bh2u(scriptSig)
|
||||
else:
|
||||
d['x_pubkeys'] = []
|
||||
d['pubkeys'] = []
|
||||
d['signatures'] = {}
|
||||
d['address'] = None
|
||||
d['type'] = 'unknown'
|
||||
d['num_sig'] = 0
|
||||
if prevout_hash == '00'*32:
|
||||
d['type'] = 'coinbase'
|
||||
d['scriptSig'] = bh2u(scriptSig)
|
||||
else:
|
||||
d['type'] = 'unknown'
|
||||
if scriptSig:
|
||||
d['scriptSig'] = bh2u(scriptSig)
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue