Fix incorrect handling of blobless blocks (#4822)

We were passing along all blocks to local processing, including those
for which we were missing blobs. This commit fixes that.
This commit is contained in:
henridf 2023-04-17 12:54:04 +02:00 committed by GitHub
parent 29b431e312
commit 4df851f4f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ proc processSignedBeaconBlock*(
blockRoot = shortLog(signedBlock.root),
blck = shortLog(signedBlock.message),
signature = shortLog(signedBlock.signature)
return v
self.blockProcessor[].addBlock(
src, ForkedSignedBeaconBlock.init(signedBlock),