Use the validators list from the session pallet

This commit is contained in:
Luke Parker 2022-10-29 06:00:58 -04:00
parent c4c3dcd8f2
commit a0c892dfc3
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6

View file

@ -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,
}
}