Improve Error::InvalidMessage comment

This commit is contained in:
Peter Todd 2017-05-08 06:11:27 -04:00
parent ab72e8da42
commit 70fd5a9e27
No known key found for this signature in database
GPG Key ID: 2481403DA5F091FB
1 changed files with 2 additions and 1 deletions

View File

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