Create rates table on all networks

This commit is contained in:
nymkappa committed 2022-05-31 11:20:31 +02:00
1 parent 0ecc03e484
commit c246ed958f
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -314,8 +314,6 @@ class Blocks {
}
}
const currentUsdPrice = fiatConversion.getConversionRates().USD;
while (this.currentBlockHeight < blockHeightTip) {
if (this.currentBlockHeight < blockHeightTip - config.MEMPOOL.INITIAL_BLOCKS_AMOUNT) {
this.currentBlockHeight = blockHeightTip;
+1 -1
View File
@@ -185,7 +185,7 @@ class DatabaseMigration {
await this.$executeQuery('ALTER TABLE `blocks` ADD INDEX `hash` (`hash`);');
}
if (databaseSchemaVersion < 19 && isBitcoin === true) {
if (databaseSchemaVersion < 19) {
await this.$executeQuery(this.getCreateRatesTableQuery(), await this.$checkIfTableExists('rates'));
}
} catch (e) {