Don't mark closed channels as inactive

This commit is contained in:
nymkappa 2022-07-27 17:24:31 +02:00
parent 54d2d178fc
commit f69a3beff1

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