mirror of
https://github.com/monero-project/monero.git
synced 2025-07-28 19:48:43 -04:00
minor fixes to Blockchain.cpp
This commit is contained in:
parent
74a1a89e27
commit
90f402e258
2 changed files with 7 additions and 3 deletions
|
@ -1022,7 +1022,7 @@ crypto::hash BlockchainLMDB::get_block_hash_from_height(const uint64_t& height)
|
|||
if (get_result == MDB_NOTFOUND)
|
||||
{
|
||||
LOG_PRINT_L0("Attempted to get hash from height " << height << ", but no such hash exists");
|
||||
throw DB_ERROR("Attempt to get hash from height failed -- block size not in db");
|
||||
throw BLOCK_DNE("Attempt to get hash from height failed -- hash not in db");
|
||||
}
|
||||
else if (get_result)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue