Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacholme7 committed Feb 19, 2025
1 parent 6c5aa7f commit 8b35f9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions anchor/eth/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub struct SsvEventSyncer {
/// Notify a channel as soon as the historical sync is done
historic_finished_notify: Option<Sender<()>>,
/// Current operational status of sync. If there is an issue with the rpc endpoint or the ws
/// endpoing, the status is considered down. Otherwise, it is up
/// endpoint, the status is considered down. Otherwise, it is up
operational_status: Arc<AtomicBool>,
}

Expand Down Expand Up @@ -129,8 +129,7 @@ impl SsvEventSyncer {
}

#[instrument(skip(self))]
/// Initial both a historical sync and a live sync from the chain. This function will transition
/// into a never ending live sync, so it should never return
/// Try to perform both a historical and live sync from the chain
pub async fn sync(&mut self) -> Result<(), ExecutionError> {
info!("Starting SSV event sync");
// Get network specific contract information
Expand Down

0 comments on commit 8b35f9e

Please sign in to comment.