mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix #651
This commit is contained in:
parent
9df44b8476
commit
d30d7b2188
1 changed files with 6 additions and 3 deletions
|
@ -428,8 +428,11 @@ class Transaction:
|
|||
s += txin['prevout_hash'].decode('hex')[::-1].encode('hex') # prev hash
|
||||
s += int_to_hex(txin['prevout_n'],4) # prev index
|
||||
|
||||
if for_sig is None:
|
||||
signatures = txin['signatures']
|
||||
signatures = txin.get('signatures', {})
|
||||
if for_sig is None and not signatures:
|
||||
script = ''
|
||||
|
||||
elif for_sig is None:
|
||||
pubkeys = txin['pubkeys']
|
||||
sig_list = ''
|
||||
for pubkey in pubkeys:
|
||||
|
|
Loading…
Add table
Reference in a new issue