Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
getNearestBlockIndex now assumes all elements passed to it are the root elements of blocks; we filter out the other elements before passing the array to the function.
- Loading branch information