Fix bug of init_from_beacon_node (#4613)

This commit is contained in:
zhiqiangxu 2023-08-14 00:29:47 +00:00
parent e92359b756
commit 842b42297b

View File

@ -627,8 +627,8 @@ async fn init_from_beacon_node<E: EthSpec>(
let num_available = beacon_nodes.num_available().await;
let num_total = beacon_nodes.num_total();
let proposer_available = beacon_nodes.num_available().await;
let proposer_total = beacon_nodes.num_total();
let proposer_available = proposer_nodes.num_available().await;
let proposer_total = proposer_nodes.num_total();
if proposer_total > 0 && proposer_available == 0 {
warn!(