From a0c892dfc35c84e5637b41508f469294811d61d5 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 29 Oct 2022 06:00:58 -0400 Subject: [PATCH] Use the validators list from the session pallet --- substrate/tendermint/client/src/validators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/tendermint/client/src/validators.rs b/substrate/tendermint/client/src/validators.rs index 9ecd3db8..189805b7 100644 --- a/substrate/tendermint/client/src/validators.rs +++ b/substrate/tendermint/client/src/validators.rs @@ -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, } }