propagate newPayload-VALID to block ancestors (#5343)
This commit is contained in:
parent
ef184c8959
commit
152dd74179
|
@ -51,6 +51,9 @@ proc addResolvedHeadBlock(
|
||||||
|
|
||||||
link(parent, blockRef)
|
link(parent, blockRef)
|
||||||
|
|
||||||
|
if executionValid:
|
||||||
|
dag.markBlockVerified(blockRef)
|
||||||
|
|
||||||
dag.forkBlocks.incl(KeyedBlockRef.init(blockRef))
|
dag.forkBlocks.incl(KeyedBlockRef.init(blockRef))
|
||||||
|
|
||||||
# Resolved blocks should be stored in database
|
# Resolved blocks should be stored in database
|
||||||
|
|
Loading…
Reference in New Issue