Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit dc75ca0

Browse files
authored
Merge pull request #32 from instagibbs/nlockle
nlocktime is serialized LE
2 parents 2d2787a + a5e2141 commit dc75ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

btchip/btchipUtils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def format_transaction(dongleOutputData, trustedInputsAndInputScripts, version=0
5050
transaction.inputs.append(newInput)
5151
result = transaction.serialize(True)
5252
result.extend(dongleOutputData)
53-
writeUint32BE(lockTime, result)
53+
writeUint32LE(lockTime, result)
5454
return bytearray(result)
5555

5656
def get_regular_input_script(sigHashtype, publicKey):

0 commit comments

Comments
 (0)