mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 15:32:24 +00:00
Merge pull request #258
ae08be5
Disable DNS checkpoint updating on testnet (Thomas Winget)
This commit is contained in:
commit
7711359e14
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ namespace cryptonote
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
bool core::update_checkpoints()
|
bool core::update_checkpoints()
|
||||||
{
|
{
|
||||||
|
if (m_testnet) return true;
|
||||||
|
|
||||||
bool res = true;
|
bool res = true;
|
||||||
if (time(NULL) - m_last_dns_checkpoints_update >= 3600)
|
if (time(NULL) - m_last_dns_checkpoints_update >= 3600)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue