Merge pull request #12 from petertodd/2017-05-08-error-comment

Improve Error::InvalidMessage comment
This commit is contained in:
Andrew Poelstra 2017-05-08 10:17:26 +00:00 committed by GitHub
commit 70f54e1dea
1 changed files with 2 additions and 1 deletions

View File

@ -310,7 +310,8 @@ pub enum Error {
IncapableContext, IncapableContext,
/// Signature failed verification /// Signature failed verification
IncorrectSignature, IncorrectSignature,
/// Badly sized message /// Badly sized message ("messages" are actually fixed-sized digests; see the `MESSAGE_SIZE`
/// constant)
InvalidMessage, InvalidMessage,
/// Bad public key /// Bad public key
InvalidPublicKey, InvalidPublicKey,