mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #3441
d4d1afd6
core: fix use of uninitialised data (moneromooo-monero)
This commit is contained in:
commit
c31780678e
@ -200,6 +200,7 @@ namespace cryptonote
|
||||
MAINNET = 0,
|
||||
TESTNET,
|
||||
STAGENET,
|
||||
FAKECHAIN
|
||||
FAKECHAIN,
|
||||
UNDEFINED = 255
|
||||
};
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user