def deserialize(self, f):
    self.nValue = struct.unpack('<q', f.read(8))[0]
    self.scriptPubKey = deser_string(f)
def deserialize(self, f):
    self.nValue = struct.unpack('<q', f.read(8))[0]
    self.scriptPubKey = deser_string(f)