implicitly backfill pre-finalized block execution validity from finalized block (#4984)
This commit is contained in:
parent
5ef748b19d
commit
7577c625b3
|
@ -1967,7 +1967,7 @@ template is_optimistic*(dag: ChainDAGRef, root: Eth2Digest): bool =
|
|||
not blck.get.executionValid
|
||||
else:
|
||||
# Either it doesn't exist at all, or it's finalized
|
||||
false
|
||||
not dag.finalizedHead.blck.executionValid
|
||||
|
||||
proc markBlockVerified*(dag: ChainDAGRef, blck: BlockRef) =
|
||||
var cur = blck
|
||||
|
|
Loading…
Reference in New Issue