aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/protocol.h')
-rw-r--r--src/daemon/protocol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/protocol.h b/src/daemon/protocol.h
index 01de535d5..fd1d1b638 100644
--- a/src/daemon/protocol.h
+++ b/src/daemon/protocol.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2017, The Monero Project
+// Copyright (c) 2014-2018, The Monero Project
//
// All rights reserved.
//
@@ -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))