GetLeafPosition returns the position and a boolean indicating whether or not a hash was found. The boolean wasn't being checked which ended up with the hashes that weren't found where being included as a 0.
We omit the positions entirely in this commit if they were not found.
GetLeafPosition returns the position and a boolean indicating whether or not a hash was found. The boolean wasn't being checked which ended up with the hashes that weren't found where being included as a 0.
We omit the positions entirely in this commit if they were not found.