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,
/// 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,