aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-19 11:39:59 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-19 11:39:59 +0200
commit8361d60aef6e17908658128284899e3a11d808d4 (patch)
tree473e738892888ae70ce2dc7e7e7d261a81648cbd /src/cryptonote_core
parentMerge pull request #3431 (diff)
parentcore: fix use of uninitialised data (diff)
downloadmonero-8361d60aef6e17908658128284899e3a11d808d4.tar.xz
Merge pull request #3434
b1398fff core: fix use of uninitialised data (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index adccd0469..e4a4cb2f1 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -171,7 +171,8 @@ namespace cryptonote
m_last_json_checkpoints_update(0),
m_disable_dns_checkpoints(false),
m_threadpool(tools::threadpool::getInstance()),
- m_update_download(0)
+ m_update_download(0),
+ m_nettype(UNDEFINED)
{
m_checkpoints_updating.clear();
set_cryptonote_protocol(pprotocol);