Fix bug of init_from_beacon_node
(#4613)
This commit is contained in:
parent
e92359b756
commit
842b42297b
@ -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!(
|
||||
|
Loading…
Reference in New Issue
Block a user