Browse Source

fix regression from 1d6f000868

re trezor/keepkey multisig signing
3.2.x
SomberNight 7 years ago
parent
commit
dc2f8ee804
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      plugins/keepkey/keepkey.py
  2. 2
      plugins/trezor/trezor.py

2
plugins/keepkey/keepkey.py

@ -327,7 +327,7 @@ class KeepKeyPlugin(HW_PluginBase):
txinputtype.prev_hash = prev_hash txinputtype.prev_hash = prev_hash
txinputtype.prev_index = prev_index txinputtype.prev_index = prev_index
if 'scriptSig' in txin: if txin.get('scriptSig') is not None:
script_sig = bfh(txin['scriptSig']) script_sig = bfh(txin['scriptSig'])
txinputtype.script_sig = script_sig txinputtype.script_sig = script_sig

2
plugins/trezor/trezor.py

@ -379,7 +379,7 @@ class TrezorPlugin(HW_PluginBase):
txinputtype.prev_hash = prev_hash txinputtype.prev_hash = prev_hash
txinputtype.prev_index = prev_index txinputtype.prev_index = prev_index
if 'scriptSig' in txin: if txin.get('scriptSig') is not None:
script_sig = bfh(txin['scriptSig']) script_sig = bfh(txin['scriptSig'])
txinputtype.script_sig = script_sig txinputtype.script_sig = script_sig

Loading…
Cancel
Save