commit 1cec6c8decf3c302e1227e0172843c3e28be777d
parent 5156b60769b365522b263220dfefcca12fea4e97
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 11 Nov 2017 11:37:50 +0100
fix #3248: locktime
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py
@@ -389,7 +389,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
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