[liquid] don't fetch pools
This commit is contained in:
parent
6b3005c49d
commit
fba3f7ec1c
@ -46,6 +46,10 @@ class MempoolBlocks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async updatePools$(): Promise<void> {
|
public async updatePools$(): Promise<void> {
|
||||||
|
if (['mainnet', 'testnet', 'signet'].includes(config.MEMPOOL.NETWORK) === false) {
|
||||||
|
this.pools = {};
|
||||||
|
return;
|
||||||
|
}
|
||||||
const allPools = await PoolsRepository.$getPools();
|
const allPools = await PoolsRepository.$getPools();
|
||||||
this.pools = {};
|
this.pools = {};
|
||||||
for (const pool of allPools) {
|
for (const pool of allPools) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user