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
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 10 additions and 3 deletions

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");
}