mirror of
https://github.com/monero-project/monero.git
synced 2025-12-10 15:32:47 +01:00
Disable DNS checkpoint updating on testnet
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user