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 0d797ff7fd
commit 7de068368c

View File

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