Skip to content

Commit 037c9ee

Browse files
committed
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`.
1 parent 94db963 commit 037c9ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pubkey.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ class XOnlyPubKey
230230
XOnlyPubKey& operator=(const XOnlyPubKey&) = default;
231231

232232
/** Determine if this pubkey is fully valid. This is true for approximately 50% of all
233-
* possible 32-byte arrays. If false, VerifySchnorr and CreatePayToContract will always
234-
* fail. */
233+
* possible 32-byte arrays. If false, VerifySchnorr, CheckTapTweak and CreateTapTweak
234+
* will always fail. */
235235
bool IsFullyValid() const;
236236

237237
/** Test whether this is the 0 key (the result of default construction). This implies

0 commit comments

Comments
 (0)