mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +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(),
|
||||
weights: vec![1; validators.len()],
|
||||
|
||||
lookup: vec![keys.public()],
|
||||
lookup: validators,
|
||||
keys,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user