mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 19:28:51 +00:00
Disable DNS checkpoint updating on testnet
This commit is contained in:
parent
c41d14b2aa
commit
ae08be5394
@ -98,6 +98,8 @@ namespace cryptonote
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
bool core::update_checkpoints()
|
||||
{
|
||||
if (m_testnet) return true;
|
||||
|
||||
bool res = true;
|
||||
if (time(NULL) - m_last_dns_checkpoints_update >= 3600)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user