Update backend/src/tasks/lightning/forensics.service.ts

This commit is contained in:
softsimon 2022-11-23 19:24:41 +09:00 committed by GitHub
parent 0fc98b9d0f
commit 8fba182db6

View File

@ -61,7 +61,7 @@ class ForensicsService {
*/ */
public async $runClosedChannelsForensics(onlyNewChannels: boolean = false): Promise<void> { public async $runClosedChannelsForensics(onlyNewChannels: boolean = false): Promise<void> {
if (!config.ESPLORA.REST_API_URL) { if (config.MEMPOOL.BACKEND !== 'esplora') {
return; return;
} }