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 e227777 commit f30481eCopy full SHA for f30481e
src/ecdsa/robust_ecdsa/presign.rs
@@ -403,10 +403,7 @@ mod test {
403
404
assert!(result.len() == 5);
405
// testing that big_r is the same accross participants
406
- assert_eq!(result[0].1.big_r, result[1].1.big_r);
407
- assert_eq!(result[1].1.big_r, result[2].1.big_r);
408
- assert_eq!(result[2].1.big_r, result[3].1.big_r);
409
- assert_eq!(result[3].1.big_r, result[4].1.big_r);
+ assert!(result.windows(2).all(|w| w[0].1.big_r == w[1].1.big_r));
410
411
insta::assert_json_snapshot!(result);
412
}
0 commit comments