Don't mark closed channels as inactive
This commit is contained in:
parent
54d2d178fc
commit
f69a3beff1
@ -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