checkpoints: add a token checkpoint on testnet (the genesis block)

This commit is contained in:
moneromooo-monero
2017-09-11 16:32:46 +01:00
parent 493fad8053
commit cdbbe99c82
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ namespace cryptonote
if (!m_testnet && !m_fakechain)
{
cryptonote::checkpoints checkpoints;
if (!checkpoints.init_default_checkpoints())
if (!checkpoints.init_default_checkpoints(m_testnet))
{
throw std::runtime_error("Failed to initialize checkpoints");
}