fix default sequence number in ledger plugin
This commit is contained in:
@@ -299,7 +299,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
|||||||
self.give_error("No matching x_key for sign_transaction") # should never happen
|
self.give_error("No matching x_key for sign_transaction") # should never happen
|
||||||
|
|
||||||
redeemScript = Transaction.get_preimage_script(txin)
|
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)
|
inputsPaths.append(hwAddress)
|
||||||
pubKeys.append(pubkeys)
|
pubKeys.append(pubkeys)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user