Fix "cannot update channel list" error

This commit is contained in:
nymkappa 2022-08-22 22:15:15 +02:00
parent 7fe9029a4e
commit 73d2930230
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -98,7 +98,7 @@ class NetworkSyncService {
const [closedChannelsRaw]: any[] = await DB.query(`SELECT id FROM channels WHERE status = 2`);
const closedChannels = {};
for (const closedChannel of closedChannelsRaw) {
closedChannels[Common.channelShortIdToIntegerId(closedChannel.id)] = true;
closedChannels[closedChannel.id] = true;
}
let progress = 0;