forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IBFT: Cleanup AddParentSeal in Prepare (ethereum#778)
Extract addParentSeal to its own function. Clean up error conditions. Now, whenever it can't generate a new ParentSeal, it will fallback to the AggregatedSeal on the parent block. If that fail, we will fail.
- Loading branch information
Mariano Cortesi
authored
Jan 3, 2020
1 parent
36357a9
commit b5a7558
Showing
2 changed files
with
99 additions
and
71 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
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