Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accumulator/forestproofs: fix off-by-one error in
Prove
sanity check
If the number of leaves is `numLeaves`, valid leaf positions are in the range of `(0, numLeaves-1)`, i.e. `pos == numLeaves` is already out of range. Take this into account for the sanity check before calling `detectSubTreeRows`.
- Loading branch information