mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 18:15:05 +02:00
test: Fix SegwitV0SignatureMsg nLockTime signedness
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user