mirror of
https://github.com/monero-project/monero.git
synced 2025-08-02 18:56:12 -04:00
BlockchainDB: skip fixup check if read-only database
This commit is contained in:
parent
95ceb715dc
commit
ee9d71e9f9
6 changed files with 32 additions and 0 deletions
|
@ -199,6 +199,11 @@ void BlockchainDB::show_stats()
|
|||
|
||||
void BlockchainDB::fixup()
|
||||
{
|
||||
if (is_read_only()) {
|
||||
LOG_PRINT_L1("Database is opened read only - skipping fixup check");
|
||||
return;
|
||||
}
|
||||
|
||||
// There was a bug that would cause key images for transactions without
|
||||
// any outputs to not be added to the spent key image set. There are two
|
||||
// instances of such transactions, in blocks 202612 and 685498.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue