From 2701f7322dcc95e43852c66d91aaf802b02c01a7 Mon Sep 17 00:00:00 2001 From: Alexander Uvizhev Date: Mon, 13 Nov 2023 12:04:31 +0000 Subject: [PATCH] fix a doc comment and a test --- lighthouse/tests/validator_client.rs | 2 +- validator_client/src/beacon_node_fallback.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lighthouse/tests/validator_client.rs b/lighthouse/tests/validator_client.rs index a46fe1415e8..62f3a7d075e 100644 --- a/lighthouse/tests/validator_client.rs +++ b/lighthouse/tests/validator_client.rs @@ -511,7 +511,7 @@ fn broadcast_flag() { }); // "none" with other values is ignored CommandLineTest::new() - .flag("broadcast", Some("none,sync-committee-messages")) + .flag("broadcast", Some("none,sync-committee")) .run() .with_config(|config| { assert_eq!(config.broadcast_topics, vec![ApiTopic::SyncCommittee]); diff --git a/validator_client/src/beacon_node_fallback.rs b/validator_client/src/beacon_node_fallback.rs index 8a450b885cf..efff46f9c70 100644 --- a/validator_client/src/beacon_node_fallback.rs +++ b/validator_client/src/beacon_node_fallback.rs @@ -689,7 +689,7 @@ impl BeaconNodeFallback { } /// Call `func` on first beacon node that returns success or on all beacon nodes - /// depending on a `send_mode`. + /// depending on the `topic` and configuration. pub async fn request<'a, F, Err, R>( &'a self, require_synced: RequireSynced,