Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/libp2p/protocol_muxer/protocol_muxer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/security/plaintext/plaintext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down