mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 14:01:39 +00:00
parent
8174c31f13
commit
dc2f8ee804
2 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ class KeepKeyPlugin(HW_PluginBase):
|
|||
txinputtype.prev_hash = prev_hash
|
||||
txinputtype.prev_index = prev_index
|
||||
|
||||
if 'scriptSig' in txin:
|
||||
if txin.get('scriptSig') is not None:
|
||||
script_sig = bfh(txin['scriptSig'])
|
||||
txinputtype.script_sig = script_sig
|
||||
|
||||
|
|
|
@ -379,7 +379,7 @@ class TrezorPlugin(HW_PluginBase):
|
|||
txinputtype.prev_hash = prev_hash
|
||||
txinputtype.prev_index = prev_index
|
||||
|
||||
if 'scriptSig' in txin:
|
||||
if txin.get('scriptSig') is not None:
|
||||
script_sig = bfh(txin['scriptSig'])
|
||||
txinputtype.script_sig = script_sig
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue