diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-10-28 13:43:50 -0400 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-04 19:31:19 -0800 |
commit | 90f402e258d6ec8b0bb27e78be013af5ba463953 (patch) | |
tree | c6351fa0284b30b9a739431dfe2cb78c532cf72c /src/cryptonote_core/BlockchainDB_impl | |
parent | Integrate BlockchainDB into cryptonote_core (diff) | |
download | monero-90f402e258d6ec8b0bb27e78be013af5ba463953.tar.xz |
minor fixes to Blockchain.cpp
Diffstat (limited to 'src/cryptonote_core/BlockchainDB_impl')
-rw-r--r-- | src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp index 6275ae388..3c7b1a442 100644 --- a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp +++ b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp @@ -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) { |