diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:09:21 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:09:21 +0200 |
commit | 11d86f600854efafcaf903ec6a285822584320a8 (patch) | |
tree | 0fc7b683b3e5b7dc683088f96117e4c743af13c4 /src/rpc/core_rpc_server.h | |
parent | Merge pull request #4854 (diff) | |
parent | Don't cache nettype in core_rpc_server use m_core (diff) | |
download | monero-11d86f600854efafcaf903ec6a285822584320a8.tar.xz |
Merge pull request #4859
6f2497bc Don't cache nettype in core_rpc_server use m_core (doy-lee)
Diffstat (limited to 'src/rpc/core_rpc_server.h')
-rw-r--r-- | src/rpc/core_rpc_server.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h index 8ada0af15..6a616e2e0 100644 --- a/src/rpc/core_rpc_server.h +++ b/src/rpc/core_rpc_server.h @@ -70,10 +70,9 @@ namespace cryptonote bool init( const boost::program_options::variables_map& vm, const bool restricted, - const network_type nettype, const std::string& port ); - network_type nettype() const { return m_nettype; } + network_type nettype() const { return m_core.get_nettype(); } CHAIN_HTTP_TO_MAP2(connection_context); //forward http requests to uri map |