Fix typo in fix for database migration fail

This commit is contained in:
wiz 2024-03-11 16:07:47 +09:00
parent d83f483898
commit 5ea4ef80b9
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -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`);