Don't mark closed channels as inactive

This commit is contained in:
nymkappa 2022-07-27 17:24:31 +02:00
parent edfa0d6074
commit f57fa1286c
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -381,6 +381,7 @@ class NodeSyncService {
WHERE short_id NOT IN (
${graphChannelsIds.map(id => `"${id}"`).join(',')}
)
AND status != 2
`);
} catch (e) {
logger.err('$setChannelsInactive() error: ' + (e instanceof Error ? e.message : e));