fix default sequence number in ledger plugin
This commit is contained in:
parent
9ab4f1e42e
commit
7617fbf0ff
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user