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:
parent
29b431e312
commit
4df851f4f5
|
@ -249,6 +249,7 @@ proc processSignedBeaconBlock*(
|
||||||
blockRoot = shortLog(signedBlock.root),
|
blockRoot = shortLog(signedBlock.root),
|
||||||
blck = shortLog(signedBlock.message),
|
blck = shortLog(signedBlock.message),
|
||||||
signature = shortLog(signedBlock.signature)
|
signature = shortLog(signedBlock.signature)
|
||||||
|
return v
|
||||||
|
|
||||||
self.blockProcessor[].addBlock(
|
self.blockProcessor[].addBlock(
|
||||||
src, ForkedSignedBeaconBlock.init(signedBlock),
|
src, ForkedSignedBeaconBlock.init(signedBlock),
|
||||||
|
|
Loading…
Reference in New Issue