From e80b640028806ec14dd90983fe5470b88b20c10d Mon Sep 17 00:00:00 2001 From: Sai Asish Y Date: Sun, 10 May 2026 18:23:11 -0700 Subject: [PATCH 1/2] fix typo: occured -> occurred --- include/libp2p/protocol_muxer/protocol_muxer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libp2p/protocol_muxer/protocol_muxer.hpp b/include/libp2p/protocol_muxer/protocol_muxer.hpp index b1f9226f0..7b52b9ae7 100644 --- a/include/libp2p/protocol_muxer/protocol_muxer.hpp +++ b/include/libp2p/protocol_muxer/protocol_muxer.hpp @@ -22,7 +22,7 @@ namespace libp2p::protocol_muxer { // cannot negotiate protocol NEGOTIATION_FAILED = 1, - // error occured on this host's side + // error occurred on this host's side INTERNAL_ERROR, // remote peer violated protocol From 9d5da231dd0830f48f0f5a7b02fc91ae0f93d761 Mon Sep 17 00:00:00 2001 From: Sai Asish Y Date: Sun, 10 May 2026 18:23:12 -0700 Subject: [PATCH 2/2] fix typo: occured -> occurred --- src/security/plaintext/plaintext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/plaintext/plaintext.cpp b/src/security/plaintext/plaintext.cpp index 76d4bd732..56d7cfb78 100644 --- a/src/security/plaintext/plaintext.cpp +++ b/src/security/plaintext/plaintext.cpp @@ -44,7 +44,7 @@ OUTCOME_CPP_DEFINE_CATEGORY(libp2p::security, Plaintext::Error, e) { using E = libp2p::security::Plaintext::Error; switch (e) { case E::EXCHANGE_SEND_ERROR: - return "Error occured while sending Exchange message to the peer"; + return "Error occurred while sending Exchange message to the peer"; case E::EXCHANGE_RECEIVE_ERROR: return "Error occurred while receiving Exchange message to the peer"; case E::INVALID_PEER_ID: