Add fake p2wsh goggles

This commit is contained in:
Mononaut
2024-03-08 00:48:36 +00:00
committed by softsimon
parent bfde456ca8
commit 9a730b51d4
5 changed files with 27 additions and 2 deletions

View File

@@ -606,6 +606,12 @@ class DatabaseMigration {
await this.$executeQuery('ALTER TABLE `federation_txos` ADD emergencyKey TINYINT NOT NULL DEFAULT 0');
await this.updateToSchemaVersion(71);
}
if (databaseSchemaVersion < 72 && isBitcoin === true) {
// reindex Goggles flags for mined block templates above height 833000
await this.$executeQuery('UPDATE blocks_summaries SET version = 0 WHERE height >= 832000;');
await this.updateToSchemaVersion(72);
}
}
/**