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

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