Merge pull request #2361 from mempool/nymkappa/bugfix/cannot-update-channel-list
Fix "cannot update channel list" error
This commit is contained in:
commit
13c5e05044
@ -98,7 +98,7 @@ class NetworkSyncService {
|
|||||||
const [closedChannelsRaw]: any[] = await DB.query(`SELECT id FROM channels WHERE status = 2`);
|
const [closedChannelsRaw]: any[] = await DB.query(`SELECT id FROM channels WHERE status = 2`);
|
||||||
const closedChannels = {};
|
const closedChannels = {};
|
||||||
for (const closedChannel of closedChannelsRaw) {
|
for (const closedChannel of closedChannelsRaw) {
|
||||||
closedChannels[Common.channelShortIdToIntegerId(closedChannel.id)] = true;
|
closedChannels[closedChannel.id] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user