Skip to content

Commit 24007b3

Browse files
committed
serialization fix
1 parent 50c6c53 commit 24007b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_framework/messages.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ def deserialize(self, f):
474474
# Only applicable for non-CT, non-segwit transactions
475475
def serialize_without_witness(self):
476476
r = b""
477-
r += struct.pack("B", 1)
478477
r += struct.pack("<i", self.nVersion)
478+
r += struct.pack("B", 1)
479479
r += ser_vector(self.vin)
480480
r += ser_vector(self.vout)
481481
r += struct.pack("<I", self.nLockTime)

0 commit comments

Comments
 (0)