Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions anchor/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use std::{
};

use anchor_validator_store::{
AnchorValidatorStore, metadata_service::MetadataService,
AnchorValidatorStore, duty_input_publisher::DutyInputPublisher,
registration_service::RegistrationService,
};
use beacon_node_fallback::{
Expand Down Expand Up @@ -706,7 +706,7 @@ impl Client {
executor.clone(),
);

let metadata_service = MetadataService::new(
let duty_input_publisher = DutyInputPublisher::new(
duties_service.clone(),
validator_store.clone(),
slot_clock.clone(),
Expand Down Expand Up @@ -736,9 +736,9 @@ impl Client {
.start_update_service(&spec)
.map_err(|e| format!("Unable to start sync committee service: {e}"))?;

metadata_service
duty_input_publisher
.start_update_service()
.map_err(|e| format!("Unable to start metadata service: {e}"))?;
.map_err(|e| format!("Unable to start duty input publisher: {e}"))?;

preparation_service
.start_proposer_prepare_service(&spec)
Expand Down
Loading
Loading