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

Fix "cannot update channel list" error
This commit is contained in:
wiz
2022-08-23 22:14:49 +09:00
committed by GitHub

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;