Resolve some PeerDAS todos (#6434)

* Resolve some PeerDAS todos
This commit is contained in:
Lion - dapplion
2024-11-05 09:39:58 +02:00
committed by GitHub
parent 38388979db
commit d8dbda319d
3 changed files with 10 additions and 19 deletions

View File

@@ -769,7 +769,6 @@ impl<T: BeaconChainTypes> SyncNetworkContext<T> {
self.log.clone(),
);
// TODO(das): start request
// Note that you can only send, but not handle a response here
match request.continue_requests(self) {
Ok(_) => {
@@ -779,7 +778,6 @@ impl<T: BeaconChainTypes> SyncNetworkContext<T> {
self.custody_by_root_requests.insert(requester, request);
Ok(LookupRequestResult::RequestSent(req_id))
}
// TODO(das): handle this error properly
Err(e) => Err(RpcRequestSendError::CustodyRequestError(e)),
}
}