1
0

hardware wallet support for locktime

This commit is contained in:
ThomasV
2017-04-19 15:01:31 +02:00
parent 183af4ae3a
commit 853b6169ed
3 changed files with 4 additions and 5 deletions

View File

@@ -408,7 +408,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
self.handler.show_message(_("Confirmed. Signing Transaction..."))
else:
# Sign input with the provided PIN
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