[liquid] don't fetch pools

This commit is contained in:
nymkappa 2024-06-05 08:28:01 +02:00
parent 6b3005c49d
commit fba3f7ec1c
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

View File

@ -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) {