change block addition logic
This commit is contained in:
parent
162a3bd6cf
commit
1c9fe9432b
|
@ -432,7 +432,7 @@ proc initFullNode(
|
||||||
err(VerifierError.UnviableFork)
|
err(VerifierError.UnviableFork)
|
||||||
else:
|
else:
|
||||||
err(VerifierError.MissingParent)
|
err(VerifierError.MissingParent)
|
||||||
else:
|
elif dataColumnQuarantine[].hasDataColumns(forkyBlck):
|
||||||
let data_columns = dataColumnQuarantine[].popDataColumns(forkyBlck.root, forkyBlck)
|
let data_columns = dataColumnQuarantine[].popDataColumns(forkyBlck.root, forkyBlck)
|
||||||
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
||||||
Opt.none(BlobSidecars), Opt.some(data_columns),
|
Opt.none(BlobSidecars), Opt.some(data_columns),
|
||||||
|
|
Loading…
Reference in New Issue