From ae08be5394ff463ff8dc6d9aa77cc56586f01a63 Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Wed, 8 Apr 2015 18:07:46 -0400 Subject: Disable DNS checkpoint updating on testnet --- src/cryptonote_core/cryptonote_core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 4754be43c..f6eaff2b1 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -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) { -- cgit v1.2.3