-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StreamProtocols are passed to Identify #268
StreamProtocols are passed to Identify #268
Conversation
|
||
#include <libp2p/peer/stream_protocols.hpp> | ||
|
||
namespace { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
namespace { | |
namespace libp2p::protocol { |
@@ -80,7 +80,9 @@ class IdentifyTest : public testing::Test { | |||
|
|||
id_msg_processor_ = std::make_shared<IdentifyMessageProcessor>( | |||
host_, conn_manager_, id_manager_, key_marshaller_); | |||
identify_ = std::make_shared<Identify>(host_, id_msg_processor_, bus_); | |||
IdentifyConfig config; | |||
config.protocols = {kIdentifyProto}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May use default
config.protocols = {kIdentifyProto}; |
} // namespace | ||
|
||
namespace libp2p::protocol { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} // namespace | |
namespace libp2p::protocol { |
The change completes the previous
e0184fb
to
f51b471
Compare
No description provided.