mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-26 03:41:04 +02:00
fix XOnlyPubKey::IsFullyValid
comment reference
The method name `CreatePayToContract` doesn't exist, very likely it was a (local) working title that was renamed to `CreateTapTweak` later. Also mention `CheckTapTweak`.
This commit is contained in:
parent
94db963de5
commit
037c9ee79b
@ -230,8 +230,8 @@ public:
|
|||||||
XOnlyPubKey& operator=(const XOnlyPubKey&) = default;
|
XOnlyPubKey& operator=(const XOnlyPubKey&) = default;
|
||||||
|
|
||||||
/** Determine if this pubkey is fully valid. This is true for approximately 50% of all
|
/** Determine if this pubkey is fully valid. This is true for approximately 50% of all
|
||||||
* possible 32-byte arrays. If false, VerifySchnorr and CreatePayToContract will always
|
* possible 32-byte arrays. If false, VerifySchnorr, CheckTapTweak and CreateTapTweak
|
||||||
* fail. */
|
* will always fail. */
|
||||||
bool IsFullyValid() const;
|
bool IsFullyValid() const;
|
||||||
|
|
||||||
/** Test whether this is the 0 key (the result of default construction). This implies
|
/** Test whether this is the 0 key (the result of default construction). This implies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user