We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d663e1 commit 2bc083eCopy full SHA for 2bc083e
examples/taproot.rs
@@ -136,8 +136,8 @@ fn hardcoded_xonlypubkeys() -> Vec<XOnlyPublicKey> {
136
],
137
];
138
let mut keys: Vec<XOnlyPublicKey> = vec![];
139
- for idx in 0..4 {
140
- keys.push(XOnlyPublicKey::from_slice(&serialized_keys[idx][..]).unwrap());
+ for key in serialized_keys {
+ keys.push(XOnlyPublicKey::from_slice(&key).unwrap());
141
}
142
keys
143
0 commit comments