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:
1 parent
94db963de5
commit
037c9ee79b
1 file changed
+2
-2
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user