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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}