aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-25 13:35:17 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-25 13:35:58 +0000
commite3f0980a1dc2608beee73086d2581d51f367b8b8 (patch)
tree32eed0caa010dcd16186757e8e311a4e06ce855c /src/daemon/daemon.cpp
parentMerge pull request #3115 (diff)
downloadmonero-e3f0980a1dc2608beee73086d2581d51f367b8b8.tar.xz
daemon: don't drop RPC with busy error when running offline
Diffstat (limited to 'src/daemon/daemon.cpp')
-rw-r--r--src/daemon/daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index 55d868a3c..31fe8e5a2 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -68,7 +68,7 @@ public:
boost::program_options::variables_map const & vm
)
: core{vm}
- , protocol{vm, core}
+ , protocol{vm, core, command_line::get_arg(vm, cryptonote::arg_offline)}
, p2p{vm, protocol}
{
// Handle circular dependencies