mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-25 19:31:48 +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;
|
||||
|
||||
/** 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
|
||||
* fail. */
|
||||
* possible 32-byte arrays. If false, VerifySchnorr, CheckTapTweak and CreateTapTweak
|
||||
* will always fail. */
|
||||
bool IsFullyValid() const;
|
||||
|
||||
/** Test whether this is the 0 key (the result of default construction). This implies
|
||||
|
Loading…
x
Reference in New Issue
Block a user