-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hash algorithms for signing and txId
This fixes the "invalid signature" problem when submitting proposals to the peer. Turns out the peers are now using SHA3 256 which is a recent change. In addition, the txID calculation always uses SHA2 256 so the code around that must be changed to not be determined by the config setting but instead always use SHA2 256. Change-Id: I3538e1e388fb7d0a184e508c5792c659ecf91847 Signed-off-by: Jim Zhang <[email protected]>
- Loading branch information
1 parent
50b9370
commit 9b9599f
Showing
3 changed files
with
11 additions
and
9 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
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