Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression of isBlockImportant()
isBlockImportant() was relying strictly on the hash bits to detect whether a matching filter was `important`, but this approach regressed with changes with how `important` filters are compiled. This commit fixed this by no longer relying on the hash bits but rather on an internal register variable being set by `important` filters when they match. I couldn't find any actual cases in default filter lists (including a couple of default regional lists) that the regression is having any effect, due to the limited cases for which isBlockImportant() is called. A test was added in a previous commit to detect such regression in the future: - a76935b
- Loading branch information