def deserialize(self, f):
    self.prevout = COutPoint()
    self.prevout.deserialize(f)
    self.scriptSig = deser_string(f)
    self.nSequence = struct.unpack('<I', f.read(4))[0]
def deserialize(self, f):
    self.prevout = COutPoint()
    self.prevout.deserialize(f)
    self.scriptSig = deser_string(f)
    self.nSequence = struct.unpack('<I', f.read(4))[0]