aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-09 10:30:17 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-09 10:30:20 +0200
commite175205e6e6314709aa1a8472f72be583771cd8a (patch)
tree8f659535b23d0ff35a0559fb274b39472513d25e /src/rpc
parentMerge pull request #526 (diff)
parentRegister daemon command line arguments to core if they're used in core (diff)
downloadmonero-e175205e6e6314709aa1a8472f72be583771cd8a.tar.xz
Merge pull request #527
336b375 Register daemon command line arguments to core if they're used in core (moneromooo-monero)
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 4ba3acc37..b566e7318 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -40,7 +40,6 @@ using namespace epee;
#include "misc_language.h"
#include "crypto/hash.h"
#include "core_rpc_server_error_codes.h"
-#include "daemon/command_line_args.h"
namespace cryptonote
{
@@ -78,7 +77,7 @@ namespace cryptonote
const boost::program_options::variables_map& vm
)
{
- m_testnet = command_line::get_arg(vm, daemon_args::arg_testnet_on);
+ m_testnet = command_line::get_arg(vm, command_line::arg_testnet_on);
m_net_server.set_threads_prefix("RPC");
bool r = handle_command_line(vm);