This repository has been archived by the owner on Jun 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: remove
Error::UntrustedMessage
Replaced with `InvalidMessage` which is more appropriate. `UntrustedMessage` was supposed to mean that the message is otherwise valid but we don't trust the key it was signed with. However, we often used this error even in cases where the message was actually invalid, for example when the proof chain was broken. Also, untrusted messages are bounced back to the sender, so receiving them is not treated as an error anyway. BREAKING CHANGE: this affects the `Error` type which is a part of the public API.
- Loading branch information
Showing
3 changed files
with
6 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
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