diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2018-01-20 11:57:02 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2018-01-29 07:06:08 +1100 |
commit | d609a2c1640a5b3079f65f4c85b3f82afd8e5f16 (patch) | |
tree | b7450871f8c51d6023385b3632ad25e2a13f1831 /src/rpc | |
parent | Rename connections_count to max_out_connection_count (diff) | |
download | monero-d609a2c1640a5b3079f65f4c85b3f82afd8e5f16.tar.xz |
Rename delete_connections to delete_out_connections
This rename is needed so that delete_in_connections can be added.
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index da9795dbe..2bae6352e 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -1598,7 +1598,7 @@ namespace cryptonote size_t n_delete = (n_connections > req.out_peers) ? n_connections - req.out_peers : 0; m_p2p.m_config.m_net_config.max_out_connection_count = req.out_peers; if (n_delete) - m_p2p.delete_connections(n_delete); + m_p2p.delete_out_connections(n_delete); res.status = CORE_RPC_STATUS_OK; return true; } |