Skip to content

Commit f30481e

Browse files
committed
fix: minor
1 parent e227777 commit f30481e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ecdsa/robust_ecdsa/presign.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,10 +403,7 @@ mod test {
403403

404404
assert!(result.len() == 5);
405405
// 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);
406+
assert!(result.windows(2).all(|w| w[0].1.big_r == w[1].1.big_r));
410407

411408
insta::assert_json_snapshot!(result);
412409
}

0 commit comments

Comments
 (0)