Import pools file for testnet and signet as well - Added missing express routes

This commit is contained in:
nymkappa
2022-01-21 16:45:11 +09:00
parent 8eaa9b3c7b
commit df960ab9ba
2 changed files with 3 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ class PoolsParser {
* Parse the pools.json file, consolidate the data and dump it into the database
*/
public async migratePoolsJson() {
if (config.MEMPOOL.NETWORK !== 'mainnet') {
if (['mainnet', 'testnet', 'signet'].includes(config.MEMPOOL.NETWORK) === false) {
return;
}