mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
Clarify 'compressed nor uncompressed' error message
This commit is contained in:
parent
93193c8ffd
commit
8e44f2e00a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue