-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle wrong root hash unhappy flow separately (#13576)
After the root hash computation `flushAndCheckCommitmentV3` switches from handling the main happy flow, to handling the error flow when the root hash doesn't match what's in the header. In this PR, I am moving the handling of the unhappy flow to a separate function, so that the main body of `flushAndCheckCommitmentV3` can continue to handle the happy flow, --------- Co-authored-by: antonis19 <antonis19@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
53 additions
and
47 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