diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-04-08 18:07:46 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-04-08 18:07:46 -0400 |
commit | ae08be5394ff463ff8dc6d9aa77cc56586f01a63 (patch) | |
tree | 3a438fcce9e6a15944fe1a3cda4cae599d05e1d9 /src | |
parent | Merge pull request #256 (diff) | |
download | monero-ae08be5394ff463ff8dc6d9aa77cc56586f01a63.tar.xz |
Disable DNS checkpoint updating on testnet
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |