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/cryptonote_core | |
| parent | c41d14b2aa3fc883d45299add1cbb8ebbe6c9ed8 (diff) | |
| download | monzero-core-ae08be5394ff463ff8dc6d9aa77cc56586f01a63.tar.gz monzero-core-ae08be5394ff463ff8dc6d9aa77cc56586f01a63.tar.xz monzero-core-ae08be5394ff463ff8dc6d9aa77cc56586f01a63.zip | |
Disable DNS checkpoint updating on testnet
Diffstat (limited to 'src/cryptonote_core')
| -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) { |
