mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Use the validators list from the session pallet
This commit is contained in:
@@ -49,7 +49,7 @@ impl TendermintValidatorsStruct {
|
|||||||
total_weight: validators.len().try_into().unwrap(),
|
total_weight: validators.len().try_into().unwrap(),
|
||||||
weights: vec![1; validators.len()],
|
weights: vec![1; validators.len()],
|
||||||
|
|
||||||
lookup: vec![keys.public()],
|
lookup: validators,
|
||||||
keys,
|
keys,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user