Misc fixes so this compiles

This commit is contained in:
Luke Parker
2025-11-04 18:56:56 -05:00
parent 642848bd24
commit 1b499edfe1
7 changed files with 23 additions and 9 deletions

View File

@@ -252,7 +252,7 @@ impl SlashReport {
#[test]
fn test_penalty() {
for validators in [1, 50, 100, KeyShares::MAX_PER_SET_U32] {
for validators in [1, 50, 100, KeyShares::MAX_PER_SET] {
let validators = NonZero::new(validators).unwrap();
// 12 hours of slash points should only decrease the rewards proportionately
let twelve_hours_of_slash_points =