mirror of
https://github.com/mempool/mempool.git
synced 2025-04-01 00:18:05 +02:00
Fix typo in fix for database migration fail
This commit is contained in:
parent
d83f483898
commit
5ea4ef80b9
@ -613,7 +613,7 @@ class DatabaseMigration {
|
||||
await this.updateToSchemaVersion(72);
|
||||
}
|
||||
|
||||
if (databaseSchemaVersion < 73 config.MEMPOOL.NETWORK === 'mainnet') {
|
||||
if (databaseSchemaVersion < 73 && config.MEMPOOL.NETWORK === 'mainnet') {
|
||||
// Clear bad data
|
||||
await this.$executeQuery(`TRUNCATE accelerations`);
|
||||
this.uniqueLog(logger.notice, `'accelerations' table has been truncated`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user