mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
fix blob validation for empty blobs when using
This commit is contained in:
@@ -69,7 +69,7 @@ impl<E: EthSpec> EarlyAttesterCache<E> {
|
||||
},
|
||||
};
|
||||
|
||||
let (block, blobs) = block.deconstruct();
|
||||
let (block, blobs) = block.deconstruct(Some(beacon_block_root));
|
||||
let item = CacheItem {
|
||||
epoch,
|
||||
committee_lengths,
|
||||
@@ -77,7 +77,7 @@ impl<E: EthSpec> EarlyAttesterCache<E> {
|
||||
source,
|
||||
target,
|
||||
block,
|
||||
blobs: blobs?,
|
||||
blobs: blobs.map_err(|_|Error::MissingBlobs)?,
|
||||
proto_block,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user