From 8e44f2e00a14e1d12f898ae54f77e9de228d206f Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Sun, 7 Sep 2014 22:32:57 -0400 Subject: [PATCH] Clarify 'compressed nor uncompressed' error message --- src/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.cpp b/src/script.cpp index 06a0a5decf..f3d423a424 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -238,7 +238,7 @@ bool IsCanonicalPubKey(const valtype &vchPubKey, unsigned int flags) { if (vchPubKey.size() != 33) return error("Non-canonical public key: invalid length for compressed key"); } else { - return error("Non-canonical public key: compressed nor uncompressed"); + return error("Non-canonical public key: neither compressed nor uncompressed"); } return true; }