Skip to content

Commit 7af8ef0

Browse files
BIP-0341's unspendable NUMS public key
1 parent d9e83ef commit 7af8ef0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/util.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,12 @@ impl<M: node::Marker> fmt::Debug for DisplayInner<'_, M> {
152152
}
153153
}
154154

155+
// BIP-0341's unspendable NUMS public key
155156
fn unspendable_internal_key() -> secp256k1::XOnlyPublicKey {
156157
secp256k1::XOnlyPublicKey::from_slice(&[
157-
0xf5, 0x91, 0x9f, 0xa6, 0x4c, 0xe4, 0x5f, 0x83, 0x06, 0x84, 0x90, 0x72, 0xb2, 0x6c, 0x1b,
158-
0xfd, 0xd2, 0x93, 0x7e, 0x6b, 0x81, 0x77, 0x47, 0x96, 0xff, 0x37, 0x2b, 0xd1, 0xeb, 0x53,
159-
0x62, 0xd2,
158+
0x50, 0x92, 0x9b, 0x74, 0xc1, 0xa0, 0x49, 0x54, 0xb7, 0x8b, 0x4b, 0x60, 0x35, 0xe9, 0x7a,
159+
0x5e, 0x07, 0x8a, 0x5a, 0x0f, 0x28, 0xec, 0x96, 0xd5, 0x47, 0xbf, 0xee, 0x9a, 0xce, 0x80,
160+
0x3a, 0xc0,
160161
])
161162
.expect("key should be valid")
162163
}

0 commit comments

Comments
 (0)