mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-03 16:17:27 +00:00
fix 2 typos
This commit is contained in:
parent
3de0dc5ba3
commit
5cc439228d
@ -468,7 +468,7 @@ impl<AppReqId: ReqId> Behaviour<AppReqId> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Inform the peer that their request produced an error.
|
/// Inform the peer that their request produced an error.
|
||||||
pub fn send_error_reponse(
|
pub fn send_error_response(
|
||||||
&mut self,
|
&mut self,
|
||||||
peer_id: PeerId,
|
peer_id: PeerId,
|
||||||
id: PeerRequestId,
|
id: PeerRequestId,
|
||||||
@ -1018,7 +1018,7 @@ impl std::convert::From<Request> for OutboundRequest {
|
|||||||
///
|
///
|
||||||
// NOTE: This is an application-level wrapper over the lower network level responses that can be
|
// NOTE: This is an application-level wrapper over the lower network level responses that can be
|
||||||
// sent. The main difference is the absense of Pong and Metadata, which don't leave the
|
// sent. The main difference is the absense of Pong and Metadata, which don't leave the
|
||||||
// Behaviour. For all protocol reponses managed by RPC see `RPCResponse` and
|
// Behaviour. For all protocol responses managed by RPC see `RPCResponse` and
|
||||||
// `RPCCodedResponse`.
|
// `RPCCodedResponse`.
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub enum Response {
|
pub enum Response {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user