move checkpoints in a separate library

This commit is contained in:
moneromooo-monero 2017-09-10 17:35:59 +01:00
parent 85f4b600d2
commit 5d65a75b69
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
29 changed files with 72 additions and 67 deletions

View file

@ -542,7 +542,7 @@ namespace rpc
{
if (m_core.get_current_blockchain_height() <= req.height)
{
res.hash = cryptonote::null_hash;
res.hash = crypto::null_hash;
res.status = Message::STATUS_FAILED;
res.error_details = "height given is higher than current chain height";
return;