-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use
log_assert_fail
when creating state witness with missing p…
…roof (#10673) Such situations indicate illegal state/programmatic error that will result in missing chunk. It is still better to avoid panic in such case, so we return `Err` instead. This PR adds `log_assert_fail` which was introduced specifically for such cases.
- Loading branch information
Showing
1 changed file
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters