aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2014-09-07 22:32:57 -0400
committerPeter Todd <pete@petertodd.org>2014-09-07 22:32:57 -0400
commit8e44f2e00a14e1d12f898ae54f77e9de228d206f (patch)
tree36865fb20b97fb5764b430d77acbc7494d2761f8
parent93193c8ffdda53a19a889b23ef61f9d3191b6448 (diff)
Clarify 'compressed nor uncompressed' error message
-rw-r--r--src/script.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}