mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 19:33:28 +01:00
Merge pull request #953
240864f
db_lmdb: errors dropping hf starting height db on reset are not fatal (moneromooo-monero)
This commit is contained in:
commit
cb17c4da4f
@ -1242,8 +1242,7 @@ void BlockchainLMDB::reset()
|
||||
throw0(DB_ERROR(lmdb_error("Failed to drop m_output_amounts: ", result).c_str()));
|
||||
if (auto result = mdb_drop(txn, m_spent_keys, 0))
|
||||
throw0(DB_ERROR(lmdb_error("Failed to drop m_spent_keys: ", result).c_str()));
|
||||
if (auto result = mdb_drop(txn, m_hf_starting_heights, 0))
|
||||
throw0(DB_ERROR(lmdb_error("Failed to drop m_hf_starting_heights: ", result).c_str()));
|
||||
(void)mdb_drop(txn, m_hf_starting_heights, 0); // this one is dropped in new code
|
||||
if (auto result = mdb_drop(txn, m_hf_versions, 0))
|
||||
throw0(DB_ERROR(lmdb_error("Failed to drop m_hf_versions: ", result).c_str()));
|
||||
if (auto result = mdb_drop(txn, m_properties, 0))
|
||||
|
Loading…
Reference in New Issue
Block a user