0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

Merge bitcoin/bitcoin#23400: doc: fix XOnlyPubKey::IsFullyValid comment reference

037c9ee79b 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 037c9ee79b
  sipa:
    ACK 037c9ee79b

Tree-SHA512: ab2b6ca93b66aba83c725b62f39e9f9316f3bea6f75ef35f66a2ac18b22a0a69ff2069cadab0365b28b0af2d30ad5ee3d3022194ac2024a1cdbb81d106fca0bb
This commit is contained in:
MarcoFalke 2021-11-09 18:10:17 +01:00
commit 8ae4ba481c
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

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