Skip to content

Commit

Permalink
fix a doc comment and a test
Browse files Browse the repository at this point in the history
  • Loading branch information
uvizhe committed Nov 13, 2023
1 parent d486554 commit 2701f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lighthouse/tests/validator_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion validator_client/src/beacon_node_fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ impl<T: SlotClock, E: EthSpec> BeaconNodeFallback<T, E> {
}

/// 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,
Expand Down

0 comments on commit 2701f73

Please sign in to comment.