mirror of
https://github.com/mempool/mempool.git
synced 2025-03-13 11:36:07 +01:00
Fix database migration fail
This commit is contained in:
parent
c5d382c351
commit
d83f483898
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ class DatabaseMigration {
|
|||
await this.updateToSchemaVersion(72);
|
||||
}
|
||||
|
||||
if (databaseSchemaVersion < 73 && isBitcoin === true) {
|
||||
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…
Add table
Reference in a new issue