|
|
@ -805,7 +805,7 @@ bool BlockchainLMDB::block_exists(const crypto::hash& h) const
|
|
|
|
if (get_result == MDB_NOTFOUND)
|
|
|
|
if (get_result == MDB_NOTFOUND)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
txn.commit();
|
|
|
|
txn.commit();
|
|
|
|
LOG_PRINT_L1("Block with hash " << epee::string_tools::pod_to_hex(h) << " not found in db");
|
|
|
|
LOG_PRINT_L3("Block with hash " << epee::string_tools::pod_to_hex(h) << " not found in db");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (get_result)
|
|
|
|
else if (get_result)
|
|
|
|