Remove mining db stats - replaced by runtime state variable

This commit is contained in:
nymkappa
2023-02-25 11:28:44 +09:00
parent 0eafd75650
commit 1d71685365
5 changed files with 28 additions and 46 deletions

View File

@@ -87,9 +87,6 @@ class Server {
await databaseMigration.$blocksReindexingTruncate();
}
await databaseMigration.$initializeOrMigrateDatabase();
if (Common.indexingEnabled()) {
await indexer.$resetHashratesIndexingState();
}
} catch (e) {
throw new Error(e instanceof Error ? e.message : 'Error');
}