commit cc9032c9ea79a2f44e0b251699838102f7181b66
parent f3f43c8f2a3775198c98aa48a90b43d64c22d975
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 12 Jan 2018 19:21:09 +0100
fix #3680 (trezor: spending from multisig)
follow-up of #3621 (Make Electrum work with trezorlib 0.9.0)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py
@@ -294,10 +294,10 @@ class TrezorCompatiblePlugin(HW_PluginBase):
s = []
node = self.ckd_public.deserialize(xpub)
return self.types.HDNodePathType(node=node, address_n=s)
- pubkeys = map(f, x_pubkeys)
+ pubkeys = list(map(f, x_pubkeys))
multisig = self.types.MultisigRedeemScriptType(
pubkeys=pubkeys,
- signatures=map(lambda x: bfh(x)[:-1] if x else b'', txin.get('signatures')),
+ signatures=list(map(lambda x: bfh(x)[:-1] if x else b'', txin.get('signatures'))),
m=txin.get('num_sig'),
)
if script_gen == SCRIPT_GEN_NATIVE_SEGWIT: