Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle case of unreachable block in
is_optimstic
helper (#6124)
* handle case of unreachable block in `is_optimstic` helper When a non-canonical block is still in the DB, it can be accessed via `BlockId`, but `BlockRef` may be unavailable if the block was not properly cleaned when it got orphaned. Report it as optimistic. * `template` -> `func`
- Loading branch information