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

This commit is contained in:
nymkappa committed 2022-01-28 15:01:21 +09:00
1 parent add06ede7f
commit 8b9e3e0ea1
2 files changed
+3 -1

No files matched your search

+1 -1
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;
}