aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-08 19:41:27 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-08 19:41:27 -0500
commit253786c8ea57f969b6454c2f57264bd6bdbffaae (patch)
tree2ebc9ad066e2bf358e01e9fb1a69e880f001e86d
parentMerge pull request #5830 (diff)
parentrpc: fix unitialized 'core_rpc_server::m_was_bootstrap_ever_used' (diff)
downloadmonero-253786c8ea57f969b6454c2f57264bd6bdbffaae.tar.xz
Merge pull request #5833
289d215 rpc: fix unitialized 'core_rpc_server::m_was_bootstrap_ever_used' (xiphon)
-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 706776ae0..7706d2cf7 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)