Skip to content

Commit

Permalink
fix #3248: locktime
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdsa committed Nov 11, 2017
1 parent 5156b60 commit 1cec6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ledger/ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def sign_transaction(self, tx, password):
singleInput = [ chipInputs[inputIndex] ]
self.get_client().startUntrustedTransaction(False, 0,
singleInput, redeemScripts[inputIndex])
inputSignature = self.get_client().untrustedHashSign(inputsPaths[inputIndex], pin)
inputSignature = self.get_client().untrustedHashSign(inputsPaths[inputIndex], pin, lockTime=tx.locktime)
inputSignature[0] = 0x30 # force for 1.4.9+
signatures.append(inputSignature)
inputIndex = inputIndex + 1
Expand Down

0 comments on commit 1cec6c8

Please sign in to comment.