mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
Merge pull request #4865
8e44f2e
Clarify 'compressed nor uncompressed' error message (Peter Todd)
This commit is contained in:
commit
df623d83da
@ -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…
Reference in New Issue
Block a user