def deserialize(self, f):
    self.type = struct.unpack('<I', f.read(4))[0]
    self.hash = deser_uint256(f)
def deserialize(self, f):
    self.type = struct.unpack('<I', f.read(4))[0]
    self.hash = deser_uint256(f)