diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-14 14:54:05 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-14 14:54:05 +0200 |
commit | 9317c9c57e72de315f0b53ebc73fce215ed1021f (patch) | |
tree | c66af7854ae62f7d1d320963c25ec37f12be6ee5 /src | |
parent | Merge pull request #2615 (diff) | |
parent | Fix an object lifetime bug in net load tests (diff) | |
download | monero-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.inl | 2 |
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); |