diff --git a/packages/lodestar/src/chain/blocks/importBlock.ts b/packages/lodestar/src/chain/blocks/importBlock.ts index 700d326c6e75..578ac6e86fd5 100644 --- a/packages/lodestar/src/chain/blocks/importBlock.ts +++ b/packages/lodestar/src/chain/blocks/importBlock.ts @@ -218,7 +218,7 @@ export async function importBlock(chain: ImportBlockModules, fullyVerifiedBlock: } } - void issueNextProposerEngineFcU(chain, postState).then((payloadId) => { + void maybeIssueNextProposerEngineFcU(chain, postState).then((payloadId) => { // NOTE: forkChoice.fsStore.finalizedCheckpoint MUST only change is response to an onBlock event // Notify execution layer of head and finalized updates only if has already // not been done via payloadId generation. But even if this fcU follows the @@ -263,7 +263,7 @@ export async function importBlock(chain: ImportBlockModules, fullyVerifiedBlock: pendingEvents.emit(); } -export async function issueNextProposerEngineFcU( +async function maybeIssueNextProposerEngineFcU( chain: ImportBlockModules, state: CachedBeaconStateAllForks ): Promise {