BlockchainDB: skip fixup check if read-only database
This commit is contained in:
@@ -2200,8 +2200,14 @@ void BlockchainBDB::checkpoint_worker() const
|
||||
LOG_PRINT_L0("Leaving BDB checkpoint thread.");
|
||||
}
|
||||
|
||||
bool BlockchainBDB::is_read_only() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void BlockchainBDB::fixup()
|
||||
{
|
||||
LOG_PRINT_L3("BlockchainBDB::" << __func__);
|
||||
// Always call parent as well
|
||||
BlockchainDB::fixup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user