diff --git a/packages/beacon-node/src/node/notifier.ts b/packages/beacon-node/src/node/notifier.ts index cdb25f3dcf2e..7b6fadcadd5e 100644 --- a/packages/beacon-node/src/node/notifier.ts +++ b/packages/beacon-node/src/node/notifier.ts @@ -65,7 +65,7 @@ export async function runNodeNotifier(modules: NodeNotifierModules): Promise 1 ? (skippedSlots > 1000 ? `${headInfo.slot} ` : `(slot -${skippedSlots}) `) : ""; + skippedSlots > 0 ? (skippedSlots > 1000 ? `${headInfo.slot} ` : `(slot -${skippedSlots}) `) : ""; const headRow = `head: ${headDiffInfo}${prettyBytes(headInfo.blockRoot)}`; const executionInfo = getHeadExecutionInfo(config, clockEpoch, headState, headInfo);