Fix misc compilation errors

This commit is contained in:
Luke Parker
2025-08-18 07:19:40 -04:00
parent 5e60ea9718
commit ceede14f5c
19 changed files with 47 additions and 61 deletions

View File

@@ -112,7 +112,7 @@ pub fn musig_context(set: ValidatorSet) -> [u8; 32] {
const DST: &[u8] = b"ValidatorSets-musig_key";
context[.. DST.len()].copy_from_slice(DST);
let set = set.encode();
context[DST.len() .. (DST.len() + set.len())].copy_from_slice(set.len());
context[DST.len() .. (DST.len() + set.len())].copy_from_slice(&set);
context
}