Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pht: fix invalid comparison, inexact match lookup #77
This is a change around the code doing the inexact match lookup. The algorithm should check the number of common bits between the target prefix and candidate prefix found in the leaves. However, by error, the code was comparing the target prefix with the wrong data: the indexed hash rather than the prefix key for that index entry.