You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert(new_db); // This is to prevent doing anything further with this wallet. The original file was deleted, but a backup exists.
3708
+
m_database.reset();
3709
+
m_database = std::move(new_db);
3710
+
3711
+
// Write existing records into the new DB
3712
+
batch = m_database->MakeBatch();
3713
+
bool began = batch->TxnBegin();
3714
+
assert(began); // This is a critical error, the new db could not be written to. The original db exists as a backup, but we should not continue execution.
assert(false); // This is a critical error, the new db could not be written to. The original db exists as a backup, but we should not continue execution.
3723
+
}
3724
+
}
3725
+
bool committed = batch->TxnCommit();
3726
+
assert(committed); // This is a critical error, the new db could not be written to. The original db exists as a backup, but we should not continue execution.
0 commit comments