Import pools file for testnet and signet as well - Added missing express routes
This commit is contained in:
1 parent
add06ede7f
commit
8b9e3e0ea1
2 files changed
+3
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user