mirror of
https://github.com/mempool/mempool.git
synced 2025-02-21 22:11:51 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue