From 7af8ef069012923561fdfdb6389c052d2c13890a Mon Sep 17 00:00:00 2001 From: roconnor-blockstream Date: Fri, 24 Oct 2025 15:22:14 -0400 Subject: [PATCH] BIP-0341's unspendable NUMS public key --- src/util.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/util.rs b/src/util.rs index 75cde36..a944750 100644 --- a/src/util.rs +++ b/src/util.rs @@ -152,11 +152,12 @@ impl fmt::Debug for DisplayInner<'_, M> { } } +// BIP-0341's unspendable NUMS public key fn unspendable_internal_key() -> secp256k1::XOnlyPublicKey { secp256k1::XOnlyPublicKey::from_slice(&[ - 0xf5, 0x91, 0x9f, 0xa6, 0x4c, 0xe4, 0x5f, 0x83, 0x06, 0x84, 0x90, 0x72, 0xb2, 0x6c, 0x1b, - 0xfd, 0xd2, 0x93, 0x7e, 0x6b, 0x81, 0x77, 0x47, 0x96, 0xff, 0x37, 0x2b, 0xd1, 0xeb, 0x53, - 0x62, 0xd2, + 0x50, 0x92, 0x9b, 0x74, 0xc1, 0xa0, 0x49, 0x54, 0xb7, 0x8b, 0x4b, 0x60, 0x35, 0xe9, 0x7a, + 0x5e, 0x07, 0x8a, 0x5a, 0x0f, 0x28, 0xec, 0x96, 0xd5, 0x47, 0xbf, 0xee, 0x9a, 0xce, 0x80, + 0x3a, 0xc0, ]) .expect("key should be valid") }