diff --git a/packages/fork-choice/src/forkChoice/forkChoice.ts b/packages/fork-choice/src/forkChoice/forkChoice.ts index 108bbead3da..773bd0a2b0f 100644 --- a/packages/fork-choice/src/forkChoice/forkChoice.ts +++ b/packages/fork-choice/src/forkChoice/forkChoice.ts @@ -621,7 +621,11 @@ export class ForkChoice implements IForkChoice { } getCanonicalBlockAtSlot(slot: Slot): IProtoBlock | null { - if (slot >= this.head.slot) { + if (slot > this.head.slot) { + return null; + } + + if (slot === this.head.slot) { return this.head; }