fix: wrong merge of forensics.service.ts

This commit is contained in:
Pantamis 2024-02-04 10:36:10 +01:00 committed by GitHub
parent d0bb186859
commit 7d92a02a7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,8 @@ class ForensicsService {
*/
public async $runClosedChannelsForensics(onlyNewChannels: boolean = false): Promise<void> {
// Only Esplora backend can retrieve spent transaction outputs
if (config.MEMPOOL.BACKEND !== 'esplora' && indexer.isCoreIndexReady('txospenderindex') !== null) {
return;
}