Remove the unused light client requests (#12470)

* Remove the unused light client requests

* Add comment about new ids
This commit is contained in:
Pierre Krieger authored and GitHub committed 2022-10-11 13:56:18 +00:00
1 parent 5f18aaadcd
commit d61b0866ed
2 files changed
+2 -53

No files matched your search

@@ -151,12 +151,8 @@ where
self.on_remote_call_request(&peer, r)?,
Some(schema::v1::light::request::Request::RemoteReadRequest(r)) =>
self.on_remote_read_request(&peer, r)?,
Some(schema::v1::light::request::Request::RemoteHeaderRequest(_r)) =>
return Err(HandleRequestError::BadRequest("Not supported.")),
Some(schema::v1::light::request::Request::RemoteReadChildRequest(r)) =>
self.on_remote_read_child_request(&peer, r)?,
Some(schema::v1::light::request::Request::RemoteChangesRequest(_r)) =>
return Err(HandleRequestError::BadRequest("Not supported.")),
None =>
return Err(HandleRequestError::BadRequest("Remote request without request data.")),
};