Skip to content

Commit

Permalink
Update NetNode.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cntemple committed Feb 11, 2021
1 parent df68416 commit 4b57ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/P2p/NetNode.cpp
Expand Up @@ -218,7 +218,7 @@ namespace CryptoNote
s(m_config.m_peer_id, "peer_id");
}

#define INVOKE_HANDLER(CMD, Handler) case CMD::ID: { ret = invokeAdaptor<CMD>(cmd.buf, out, ctx, boost::bind(Handler, this, _1, _2, _3, _4)); break; }
#define INVOKE_HANDLER(CMD, Handler) case CMD::ID: { ret = invokeAdaptor<CMD>(cmd.buf, out, ctx, boost::bind(Handler, this, boost::arg<1>(), boost::arg<2>(), boost::arg<3>(), boost::arg<4>())); break; }

int NodeServer::handleCommand(const LevinProtocol::Command& cmd, BinaryArray& out, P2pConnectionContext& ctx, bool& handled) {
int ret = 0;
Expand Down

0 comments on commit 4b57ffc

Please sign in to comment.