From a78f8d68f61b0ab23e616b03765129656744b54e Mon Sep 17 00:00:00 2001 From: Kevin Mulcrone Date: Wed, 22 Jul 2020 23:50:39 -0600 Subject: [PATCH] add not is_wit check to trezor --- hwilib/devices/trezor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwilib/devices/trezor.py b/hwilib/devices/trezor.py index 450fcfb..bb1b69a 100644 --- a/hwilib/devices/trezor.py +++ b/hwilib/devices/trezor.py @@ -257,7 +257,7 @@ class TrezorClient(HardwareWalletClient): if is_ms: # Add to txinputtype txinputtype.multisig = multisig - if not psbt_in.witness_utxo: + if not is_wit: if utxo.is_p2sh: txinputtype.script_type = proto.InputScriptType.SPENDMULTISIG else: