From 541f1a3c4464730fa27cf2bd30173721d757427c Mon Sep 17 00:00:00 2001 From: levoncrypto Date: Tue, 17 Dec 2024 19:42:07 +0400 Subject: [PATCH] Fix masternode payout spend --- electrum_dash/plugins/trezor/trezor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)