Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sanityCheck: only calculate siblingHash if necessary, refactor and re…
…duce nesting Only calculate siblingHash to avoid wasting cycles when unneeded. Also while here, reverse conditional the code to reduce nesting and to make reading much simpler. Fixes celestiaorg#56
- Loading branch information