mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 13:47:47 +00:00
db_lmdb: do not error if dropping a non existent hard fork table
This commit is contained in:
parent
53e18cafdf
commit
d2e11f374a
1 changed files with 1 additions and 1 deletions
|
@ -1132,7 +1132,7 @@ void BlockchainLMDB::open(const std::string& filename, const int mdb_flags)
|
|||
if (!(mdb_flags & MDB_RDONLY))
|
||||
{
|
||||
result = mdb_drop(txn, m_hf_starting_heights, 1);
|
||||
if (result)
|
||||
if (result && result != MDB_NOTFOUND)
|
||||
throw0(DB_ERROR(lmdb_error("Failed to drop m_hf_starting_heights: ", result).c_str()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue