We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b5fc81 commit e7a0c89Copy full SHA for e7a0c89
src/util.rs
@@ -112,11 +112,12 @@ pub fn get_compression_factor<M: node::Marker>(node: &node::Node<M>) -> usize {
112
unshared_len / shared_len
113
}
114
115
+// BIP-0341's unspendable NUMS public key
116
fn unspendable_internal_key() -> secp256k1::XOnlyPublicKey {
117
secp256k1::XOnlyPublicKey::from_slice(&[
- 0xf5, 0x91, 0x9f, 0xa6, 0x4c, 0xe4, 0x5f, 0x83, 0x06, 0x84, 0x90, 0x72, 0xb2, 0x6c, 0x1b,
118
- 0xfd, 0xd2, 0x93, 0x7e, 0x6b, 0x81, 0x77, 0x47, 0x96, 0xff, 0x37, 0x2b, 0xd1, 0xeb, 0x53,
119
- 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,
120
+ 0x3a, 0xc0,
121
])
122
.expect("key should be valid")
123
0 commit comments