`valueOr` needs explicit fork for default value as well
This commit is contained in:
parent
5df441d936
commit
7d24e43080
|
@ -671,7 +671,7 @@ proc storeBlock(
|
|||
self[].lastPayload = signedBlock.message.slot
|
||||
|
||||
# write blobs now that block has been written.
|
||||
let blobs = blobsOpt.valueOr: BlobSidecars @[]
|
||||
let blobs = blobsOpt.valueOr: blobFork.BlobSidecars() @[]
|
||||
for b in blobs:
|
||||
self.consensusManager.dag.db.putBlobSidecar(b[])
|
||||
|
||||
|
|
Loading…
Reference in New Issue