|
|
@ -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: |
|
|
|