Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blockchain: add case for pruning stale blocks
Pruning stale blocks will make the block validation fail for the block that the prune was triggered on as BlockHeightByHash will not return the height for blocks that are not in the main chain. We add a test case to ensure that the test fails in the above case.
- Loading branch information