Don't mark closed channels as inactive
This commit is contained in:
parent
edfa0d6074
commit
f57fa1286c
@ -381,6 +381,7 @@ class NodeSyncService {
|
|||||||
WHERE short_id NOT IN (
|
WHERE short_id NOT IN (
|
||||||
${graphChannelsIds.map(id => `"${id}"`).join(',')}
|
${graphChannelsIds.map(id => `"${id}"`).join(',')}
|
||||||
)
|
)
|
||||||
|
AND status != 2
|
||||||
`);
|
`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.err('$setChannelsInactive() error: ' + (e instanceof Error ? e.message : e));
|
logger.err('$setChannelsInactive() error: ' + (e instanceof Error ? e.message : e));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user