Update pool parser to work with no database
This commit is contained in:
parent
b8b6c46f87
commit
8bd11f0598
@ -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