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:
Sebastian Falbesoner 2021-10-31 02:39:15 +01:00
parent 94db963de5
commit 037c9ee79b

View File

@ -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