From 8b35f9ecaef25a9b4d7c81051c21ba51838e56c7 Mon Sep 17 00:00:00 2001 From: Zacholme7 Date: Wed, 19 Feb 2025 14:18:35 +0000 Subject: [PATCH] nits --- anchor/eth/src/sync.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/anchor/eth/src/sync.rs b/anchor/eth/src/sync.rs index cd8924ca..e9bec89e 100644 --- a/anchor/eth/src/sync.rs +++ b/anchor/eth/src/sync.rs @@ -83,7 +83,7 @@ pub struct SsvEventSyncer { /// Notify a channel as soon as the historical sync is done historic_finished_notify: Option>, /// 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, } @@ -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