diff --git a/.changeset/lovely-parents-remain.md b/.changeset/lovely-parents-remain.md new file mode 100644 index 0000000000..ce8a80851b --- /dev/null +++ b/.changeset/lovely-parents-remain.md @@ -0,0 +1,5 @@ +--- +"@farcaster/hubble": patch +--- + +fix: Handle sync status reporting properly diff --git a/apps/hubble/src/cli.ts b/apps/hubble/src/cli.ts index 7adb0fcaa4..b8a17c16e0 100644 --- a/apps/hubble/src/cli.ts +++ b/apps/hubble/src/cli.ts @@ -592,7 +592,7 @@ app } const numPeers = msgPercents.length; - if (!syncEngingStarted) { + if (syncEngingStarted === false && numPeers === 0) { logger.info("Sync Status: Getting blockchain events (Sync not started yet)"); } else if (numPeers === 0) { logger.info("Sync Status: No peers");