Merge pull request #4882 from mempool/nymkappa/reset-pool-sha

[migration] reset mining pool sha to force refreshing
This commit is contained in:
softsimon 2024-04-04 15:20:04 +09:00 committed by GitHub
commit 0813592a6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -655,6 +655,7 @@ class DatabaseMigration {
await this.$executeQuery('TRUNCATE hashrates');
await this.$executeQuery('TRUNCATE difficulty_adjustments');
await this.$executeQuery(`UPDATE state SET string = NULL WHERE name = 'pools_json_sha'`);
await this.updateToSchemaVersion(75);
}