aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-14 14:54:05 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-14 14:54:05 +0200
commit9317c9c57e72de315f0b53ebc73fce215ed1021f (patch)
treec66af7854ae62f7d1d320963c25ec37f12be6ee5 /src
parentMerge pull request #2615 (diff)
parentFix an object lifetime bug in net load tests (diff)
downloadmonero-9317c9c57e72de315f0b53ebc73fce215ed1021f.tar.xz
Merge pull request #2617
7dbf76d0 Fix an object lifetime bug in net load tests (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 6162d649b..ee3ff160a 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -560,7 +560,7 @@ namespace nodetool
//configure self
m_net_server.set_threads_prefix("P2P");
- m_net_server.get_config_object().m_pcommands_handler = this;
+ m_net_server.get_config_object().set_handler(this);
m_net_server.get_config_object().m_invoke_timeout = P2P_DEFAULT_INVOKE_TIMEOUT;
m_net_server.set_connection_filter(this);