def serialize_without_witness(self):
    r = b''
    r += struct.pack('<i', self.nVersion)
    r += ser_vector(self.vin)
    r += ser_vector(self.vout)
    r += struct.pack('<I', self.nLockTime)
    return r
def serialize_without_witness(self):
    r = b
    r += struct.pack('<i', self.nVersion)
    r += ser_vector(self.vin)
    r += ser_vector(self.vout)
    r += struct.pack('<I', self.nLockTime)
    return r