message: test: Add `nTime` in `CTransaction` class only for transactions below version 3
diff: @@ -504,7 +504,7 @@ class CTxWitness:
  class CTransaction:
  - __slots__ = ("hash", "nLockTime", "nVersion", "sha256", "vin", "vout",
  + __slots__ = ("hash", "nLockTime", "nVersion", "nTime", "sha256", "vin", "vout",
  "wit")
  def __init__(self, tx=None):
  @@ -529,6 +529,7 @@ class CTransaction:
  def deserialize(self, f):
  self.nVersion = struct.unpack("<i", f.read(4))[0]
  + if self.nVersion < 3:
  self.nTime = struct.unpack("<I", f.read(4))[0]
  self.vin = deser_vector(f, CTxIn)
  flags = 0
  @@ -553,6 +554,7 @@ class CTransaction:
  def serialize_without_witness(self):
  r = b""
  r += struct.pack("<i", self.nVersion)
  + if self.nVersion < 3:
  r += struct.pack("<I", self.nTime)
  r += ser_vector(self.vin)
  r += ser_vector(self.vout)
  @@ -566,6 +568,7 @@ class CTransaction:
  flags |= 1
  r = b""
  r += struct.pack("<i", self.nVersion)
  + if self.nVersion < 3:
  r += struct.pack("<I", self.nTime)
  if flags:
  dummy = []
  