mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 03:31:45 +00:00
@@ -75,10 +75,7 @@ impl Inner {
|
||||
SszEth1Cache::from_ssz_bytes(bytes)
|
||||
.map_err(|e| format!("Ssz decoding error: {:?}", e))?
|
||||
.to_inner(config, spec)
|
||||
.map(|inner| {
|
||||
inner.block_cache.write().rebuild_by_hash_map();
|
||||
inner
|
||||
})
|
||||
.inspect(|inner| inner.block_cache.write().rebuild_by_hash_map())
|
||||
}
|
||||
|
||||
/// Returns a reference to the specification.
|
||||
|
||||
Reference in New Issue
Block a user