mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Misc fixes so this compiles
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user