From 941531c8784a960c5bbb56a417658fcbc11150d7 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 22 Dec 2021 09:24:14 +1100 Subject: [PATCH] Update sync/optimistic.md Co-authored-by: terence tsao --- sync/optimistic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/optimistic.md b/sync/optimistic.md index e45d6bbb2..abf352d07 100644 --- a/sync/optimistic.md +++ b/sync/optimistic.md @@ -68,7 +68,7 @@ conditions are met: 1. The justified checkpoint has execution enabled. I.e., `is_execution_block(get_block(get_state(head_block).current_justified_checkpoint.root))` 1. The current slot (as per the system clock) is at least `SAFE_SLOTS_TO_IMPORT_OPTIMISTICALLY` ahead of - the slot of the block being imported. I.e., `should_optimistically_import_block(current_slot) == True`. + the slot of the block being imported. I.e., `should_optimistically_import_block(current_slot, block) == True`. *See [Fork Choice Poisoning](#fork-choice-poisoning) for the motivations behind these conditions.*