From 8ad7c00fe21ac0b9bd736a6175b5ea972f93fd0a Mon Sep 17 00:00:00 2001 From: hayzamjs Date: Thu, 9 Jan 2020 12:09:47 +0000 Subject: [PATCH] Set log level to 1 for missing bad alt chain hashes --- src/blockchain_db/lmdb/db_lmdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockchain_db/lmdb/db_lmdb.cpp b/src/blockchain_db/lmdb/db_lmdb.cpp index ebd61322..a2f75edd 100644 --- a/src/blockchain_db/lmdb/db_lmdb.cpp +++ b/src/blockchain_db/lmdb/db_lmdb.cpp @@ -4224,10 +4224,10 @@ void BlockchainLMDB::remove_alt_block(const crypto::hash &blkid) MDB_val v; int result = mdb_cursor_get(m_cur_alt_blocks, &k, &v, MDB_SET); if (result) - throw0(DB_ERROR(lmdb_error("Error locating alternate block " + epee::string_tools::pod_to_hex(blkid) + " in the db: ", result).c_str())); + throw1(DB_ERROR(lmdb_error("Error locating alternate block " + epee::string_tools::pod_to_hex(blkid) + " in the db: ", result).c_str())); result = mdb_cursor_del(m_cur_alt_blocks, 0); if (result) - throw0(DB_ERROR(lmdb_error("Error deleting alternate block " + epee::string_tools::pod_to_hex(blkid) + " from the db: ", result).c_str())); + throw1(DB_ERROR(lmdb_error("Error deleting alternate block " + epee::string_tools::pod_to_hex(blkid) + " from the db: ", result).c_str())); } uint64_t BlockchainLMDB::get_alt_block_count()