Update pool parser to work with no database
This commit is contained in:
parent
6cd42cfc73
commit
c2f5cb9529
@ -16,6 +16,11 @@ class PoolsParser {
|
||||
|
||||
public setMiningPools(pools): void {
|
||||
this.miningPools = pools;
|
||||
for (const pool of this.miningPools) {
|
||||
pool.regexes = JSON.stringify(pool.tags);
|
||||
pool.addresses = JSON.stringify(pool.addresses);
|
||||
delete pool.tags;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user