mirror of
https://github.com/mempool/mempool.git
synced 2025-04-10 12:59:32 +02:00
[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> {
|
||||
if (['mainnet', 'testnet', 'signet'].includes(config.MEMPOOL.NETWORK) === false) {
|
||||
this.pools = {};
|
||||
return;
|
||||
}
|
||||
const allPools = await PoolsRepository.$getPools();
|
||||
this.pools = {};
|
||||
for (const pool of allPools) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user