mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Fix misc PeerDAS todos (#6862)
Address misc PeerDAS TODOs that are not too big for a dedicated PR I'll justify each TODO on an inlined comment
This commit is contained in:
@@ -1217,12 +1217,10 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
requester: CustodyRequester,
|
||||
response: CustodyByRootResult<T::EthSpec>,
|
||||
) {
|
||||
// TODO(das): get proper timestamp
|
||||
let seen_timestamp = timestamp_now();
|
||||
self.block_lookups
|
||||
.on_download_response::<CustodyRequestState<T::EthSpec>>(
|
||||
requester.0,
|
||||
response.map(|(columns, peer_group)| (columns, peer_group, seen_timestamp)),
|
||||
response,
|
||||
&mut self.network,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user