electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 0eb05f7cc475e29634f71ab6ba8fc0d3bc732ce7
parent 41e39caad1e865ff7784e616e1c01e5e066fb9ca
Author: ThomasV <thomasv@electrum.org>
Date:   Fri,  4 Aug 2017 11:20:00 +0200

Merge pull request #2687 from jhoenicke/trezor

TREZOR: Remove sighash from input signatures
Diffstat:
Mplugins/trezor/plugin.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py @@ -281,7 +281,7 @@ class TrezorCompatiblePlugin(HW_PluginBase): pubkeys = map(f, x_pubkeys) multisig = self.types.MultisigRedeemScriptType( 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'), ) txinputtype = self.types.TxInputType(