Browse Source

Merge pull request #2687 from jhoenicke/trezor

TREZOR: Remove sighash from input signatures
2.9.x
ThomasV 8 years ago
committed by GitHub
parent
commit
0eb05f7cc4
  1. 2
      plugins/trezor/plugin.py

2
plugins/trezor/plugin.py

@ -281,7 +281,7 @@ class TrezorCompatiblePlugin(HW_PluginBase):
pubkeys = map(f, x_pubkeys) pubkeys = map(f, x_pubkeys)
multisig = self.types.MultisigRedeemScriptType( multisig = self.types.MultisigRedeemScriptType(
pubkeys=pubkeys, pubkeys=pubkeys,
signatures=map(lambda x: x.decode('hex') if x else '', txin.get('signatures')), signatures=map(lambda x: x.decode('hex')[:-1] if x else '', txin.get('signatures')),
m=txin.get('num_sig'), m=txin.get('num_sig'),
) )
txinputtype = self.types.TxInputType( txinputtype = self.types.TxInputType(

Loading…
Cancel
Save