electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit cb81ef6f34384bedf74cc93785961d5846f4881b
parent 7f2234caed2e3f88ae93f2d60f00f090a4ad4340
Author: ThomasV <thomasv@electrum.org>
Date:   Sun,  9 Jul 2017 18:55:26 +0200

fix sequence in trezor plugin (follow-up to d4e8f4be)

Diffstat:
Mplugins/trezor/plugin.py | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py @@ -306,9 +306,7 @@ class TrezorCompatiblePlugin(HW_PluginBase): script_sig = txin['scriptSig'].decode('hex') txinputtype.script_sig = script_sig - if 'sequence' in txin: - sequence = txin['sequence'] - txinputtype.sequence = sequence + txinputtype.sequence = txin.get('sequence', 0xffffffff - 1) inputs.append(txinputtype)