mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
starting to cell-ize
This commit is contained in:
@@ -778,7 +778,10 @@ impl<T: BeaconChainTypes> SyncNetworkContext<T> {
|
||||
|
||||
let range_req = entry.get_mut();
|
||||
if let Some(blocks_result) = range_req.responses(
|
||||
self.chain.data_availability_checker.v1().clone(),
|
||||
self.chain
|
||||
.data_availability_checker
|
||||
.pending_block_cache()
|
||||
.clone(),
|
||||
self.chain.spec.clone(),
|
||||
) {
|
||||
if let Err(CouplingError::DataColumnPeerFailure {
|
||||
|
||||
@@ -1110,7 +1110,10 @@ impl TestRig {
|
||||
let range_sync_block = RangeSyncBlock::new(
|
||||
block,
|
||||
block_data,
|
||||
self.harness.chain.data_availability_checker.v1(),
|
||||
self.harness
|
||||
.chain
|
||||
.data_availability_checker
|
||||
.pending_block_cache(),
|
||||
self.harness.chain.spec.clone(),
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user