Merge pull request #2361 from mempool/nymkappa/bugfix/cannot-update-channel-list

Fix "cannot update channel list" error
This commit is contained in:
wiz authored and GitHub committed 2022-08-23 22:14:49 +09:00
commit 13c5e05044
1 file changed
+1 -1
@@ -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;