def remove_block_record(self, header_hash: bytes32):
    sbr = self.block_record(header_hash)
    del self.__block_records[header_hash]
    self.__heights_in_cache[sbr.height].remove(header_hash)
def remove_block_record(self, header_hash: bytes32):
    sbr = self.block_record(header_hash)
    del self.__block_records[header_hash]
    self.__heights_in_cache[sbr.height].remove(header_hash)