Browse Source

Clarify 'compressed nor uncompressed' error message

0.10
Peter Todd 10 years ago
parent
commit
8e44f2e00a
No known key found for this signature in database
GPG Key ID: 2481403DA5F091FB
  1. 2
      src/script.cpp

2
src/script.cpp

@ -238,7 +238,7 @@ bool IsCanonicalPubKey(const valtype &vchPubKey, unsigned int flags) {
if (vchPubKey.size() != 33) if (vchPubKey.size() != 33)
return error("Non-canonical public key: invalid length for compressed key"); return error("Non-canonical public key: invalid length for compressed key");
} else { } else {
return error("Non-canonical public key: compressed nor uncompressed"); return error("Non-canonical public key: neither compressed nor uncompressed");
} }
return true; return true;
} }

Loading…
Cancel
Save