aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/protocol.h
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/protocol.h
parentMerge pull request #3115 (diff)
downloadmonero-e3f0980a1dc2608beee73086d2581d51f367b8b8.tar.xz
daemon: don't drop RPC with busy error when running offline
Diffstat (limited to '')
-rw-r--r--src/daemon/protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/protocol.h b/src/daemon/protocol.h
index 01de535d5..c550271be 100644
--- a/src/daemon/protocol.h
+++ b/src/daemon/protocol.h
@@ -46,9 +46,9 @@ private:
public:
t_protocol(
boost::program_options::variables_map const & vm
- , t_core & core
+ , t_core & core, bool offline = false
)
- : m_protocol{core.get(), nullptr}
+ : m_protocol{core.get(), nullptr, offline}
{
MGINFO("Initializing cryptonote protocol...");
if (!m_protocol.init(vm))