mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
test: Fix SegwitV0SignatureMsg nLockTime signedness
This commit is contained in:
parent
5b8990a1f3
commit
fab15723b0
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ def SegwitV0SignatureMsg(script, txTo, inIdx, hashtype, amount):
|
|||
ss += struct.pack("<q", amount)
|
||||
ss += struct.pack("<I", txTo.vin[inIdx].nSequence)
|
||||
ss += ser_uint256(hashOutputs)
|
||||
ss += struct.pack("<i", txTo.nLockTime)
|
||||
ss += txTo.nLockTime.to_bytes(4, "little")
|
||||
ss += struct.pack("<I", hashtype)
|
||||
return ss
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue