tfix sequence in trezor plugin (follow-up to d4e8f4be) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit cb81ef6f34384bedf74cc93785961d5846f4881b DIR parent 7f2234caed2e3f88ae93f2d60f00f090a4ad4340 HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 9 Jul 2017 18:55:26 +0200 fix sequence in trezor plugin (follow-up to d4e8f4be) Diffstat: M plugins/trezor/plugin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py t@@ -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)