aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-08-20 15:05:54 +0000
committerxiphon <xiphon@protonmail.com>2019-08-20 15:08:48 +0000
commit289d21500c62d808e33e82925c9e46c156e92bc1 (patch)
treed597907b514f1ad128f84b508a0e098664934d51 /src/rpc/core_rpc_server.cpp
parentMerge pull request #5779 (diff)
downloadmonero-289d21500c62d808e33e82925c9e46c156e92bc1.tar.xz
rpc: fix unitialized 'core_rpc_server::m_was_bootstrap_ever_used'
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index d80219f1c..27d90c768 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -103,6 +103,7 @@ namespace cryptonote
)
: m_core(cr)
, m_p2p(p2p)
+ , m_was_bootstrap_ever_used(false)
{}
//------------------------------------------------------------------------------------------------------------------------------
bool core_rpc_server::set_bootstrap_daemon(const std::string &address, const std::string &username_password)