From 5cc439228d594429baefcab46e6d6dfa0178aa9a Mon Sep 17 00:00:00 2001 From: GarmashAlex Date: Sat, 3 May 2025 22:45:12 +0300 Subject: [PATCH] fix 2 typos --- node/network/src/behaviour/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/network/src/behaviour/mod.rs b/node/network/src/behaviour/mod.rs index 2bda07f..c6a0819 100644 --- a/node/network/src/behaviour/mod.rs +++ b/node/network/src/behaviour/mod.rs @@ -468,7 +468,7 @@ impl Behaviour { } /// Inform the peer that their request produced an error. - pub fn send_error_reponse( + pub fn send_error_response( &mut self, peer_id: PeerId, id: PeerRequestId, @@ -1018,7 +1018,7 @@ impl std::convert::From for OutboundRequest { /// // 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 -// Behaviour. For all protocol reponses managed by RPC see `RPCResponse` and +// Behaviour. For all protocol responses managed by RPC see `RPCResponse` and // `RPCCodedResponse`. #[derive(Debug, Clone, PartialEq, Eq)] pub enum Response {