Skip to content

Commit 8ae4ba4

Browse files
author
MarcoFalke
committed
Merge bitcoin/bitcoin#23400: doc: fix XOnlyPubKey::IsFullyValid comment reference
037c9ee fix `XOnlyPubKey::IsFullyValid` comment reference (Sebastian Falbesoner) Pull request description: The method name `CreatePayToContract` doesn't exist, very likely it was a (local) working title that was renamed to `CreateTapTweak` later. ACKs for top commit: michaelfolkson: ACK 037c9ee sipa: ACK 037c9ee Tree-SHA512: ab2b6ca93b66aba83c725b62f39e9f9316f3bea6f75ef35f66a2ac18b22a0a69ff2069cadab0365b28b0af2d30ad5ee3d3022194ac2024a1cdbb81d106fca0bb
2 parents e70fb87 + 037c9ee commit 8ae4ba4

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)