diff --git a/validator_client/src/beacon_node_fallback.rs b/validator_client/src/beacon_node_fallback.rs index 76f16ce392..509dc968f5 100644 --- a/validator_client/src/beacon_node_fallback.rs +++ b/validator_client/src/beacon_node_fallback.rs @@ -519,10 +519,6 @@ impl BeaconNodeFallback { /// Run `func` against each candidate in `self`, returning immediately if a result is found. /// Otherwise, return all the errors encountered along the way. - /// - /// First this function will try all nodes with a suitable status. If no candidates are suitable - /// or all the requests fail, it will try updating the status of all unsuitable nodes and - /// re-running `func` again. pub async fn first_success(&self, func: F) -> Result> where F: Fn(BeaconNodeHttpClient) -> R, @@ -579,9 +575,6 @@ impl BeaconNodeFallback { /// Run `func` against all candidates in `self`, collecting the result of `func` against each /// candidate. /// - /// First this function will try all nodes with a suitable status. If no candidates are suitable - /// it will try updating the status of all unsuitable nodes and re-running `func` again. - /// /// Note: This function returns `Ok(())` if `func` returned successfully on all beacon nodes. /// It returns a list of errors along with the beacon node id that failed for `func`. /// Since this ignores the actual result of `func`, this function should only be used for beacon