From 70fd5a9e276894a3fd22edf4ed06a88ad4c75eff Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Mon, 8 May 2017 06:11:27 -0400 Subject: [PATCH] Improve Error::InvalidMessage comment --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 83253d4..d878500 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,