Merge pull request #258

ae08be5 Disable DNS checkpoint updating on testnet (Thomas Winget)
This commit is contained in:
Riccardo Spagni
2015-04-09 00:10:18 +02:00

View File

@@ -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)
{