-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ASN1DER for TxID hashing instead of Protobuf
It is not guaranteed that Protobuf encoding will always generate the same bytes for the same structure. This could lead to different hashes for the same object that's why we should use ASN1 DER (which will surely generate the same bytes). Change-Id: I75420e8436fb8144490e3801c51886062a0bd2a4 Signed-off-by: Gabor Hosszu <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
5 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