-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IBFT: Ensure that Committed Seal is not zero value (#1118)
* Ensure there is no zero addr Committed Seal When a commit message is processed, if the Proposal is missing due to some reason, we should not generate a Zero address Committed Seal. Such an incorrect seal causes `BAD BLOCK` failure with an `invalid signature` error during operations such as Block import * run gofmt * Remove stale comment * Add unit test * Revert "Remove stale comment" This reverts commit 279be71. * Move comment * Update test with error checking Co-authored-by: baptiste-b-pegasys <[email protected]> Co-authored-by: baptiste-b-pegasys <[email protected]>
- Loading branch information
1 parent
b57775d
commit 743e4a1
Showing
2 changed files
with
37 additions
and
2 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