Skip to content
Merged
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
5 changes: 5 additions & 0 deletions src/network/listener_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ namespace libp2p::network {
this->getProtocol(proto_name);
if (rprotocol.has_value()) {
const auto &protocol = rprotocol.value();
if (!protocol) {
log()->warn("can not negotiate protocols, protocol is null");
Copy link

Copilot AI Oct 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected grammar: 'can not' should be 'cannot'.

Copilot uses AI. Check for mistakes.
stream->reset();
continue;
}
protocol->handle(stream);
continue;
}
Expand Down
Loading