Fix Some(_) which should be Ok(_)

This commit is contained in:
Luke Parker
2025-09-01 15:42:47 -04:00
parent f8adfb56ad
commit 98b9cc82a7

View File

@@ -150,7 +150,7 @@ pub fn musig<C: Ciphersuite>(
}
let group_key = multiexp::multiexp(&multiexp);
debug_assert_eq!(our_pub_key, verification_shares[&params.i()]);
debug_assert_eq!(musig_key_vartime::<C>(context, keys), Some(group_key));
debug_assert_eq!(musig_key_vartime::<C>(context, keys), Ok(group_key));
ThresholdKeys::new(
params,