electrum

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

commit 7617fbf0ff287d5e8298fa231ac583ce16a0102d
parent 9ab4f1e42e328217e518d5f61e39f680b6d58c79
Author: ThomasV <thomasv@electrum.org>
Date:   Tue,  8 Aug 2017 09:26:05 +0200

fix default sequence number in ledger plugin

Diffstat:
Mplugins/ledger/ledger.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py @@ -299,7 +299,7 @@ class Ledger_KeyStore(Hardware_KeyStore): self.give_error("No matching x_key for sign_transaction") # should never happen redeemScript = Transaction.get_preimage_script(txin) - inputs.append([txin['prev_tx'].raw, txin['prevout_n'], redeemScript, txin['prevout_hash'], signingPos, txin.get('sequence', 0xffffffff) ]) + inputs.append([txin['prev_tx'].raw, txin['prevout_n'], redeemScript, txin['prevout_hash'], signingPos, txin.get('sequence', 0xffffffff - 1) ]) inputsPaths.append(hwAddress) pubKeys.append(pubkeys)