diff --git a/electrum_dash/plugins/trezor/trezor.py b/electrum_dash/plugins/trezor/trezor.py index cd6a64a1e..1df29aad8 100644 --- a/electrum_dash/plugins/trezor/trezor.py +++ b/electrum_dash/plugins/trezor/trezor.py @@ -379,7 +379,7 @@ def tx_inputs(self, tx: Transaction, *, for_sig=False, keystore: 'TrezorKeyStore if txin.script_sig.startswith(b"\xc4") and txin.nsequence == 0xffffffff: prev_index = 1 else: - prev_index = txin.nsequence + prev_index = txin.prevout.out_idx else: if for_sig: assert isinstance(tx, PartialTransaction)