Merge branch 'master' into nymkappa/bugfix/unique-lightning-stats

This commit is contained in:
wiz authored and GitHub committed 2022-08-08 15:40:46 +09:00
commit 23b42355f7
9 files changed
+46 -54

No files matched your search

@@ -430,10 +430,13 @@ class NetworkSyncService {
}
private toIntegerId(id: string): string {
if (config.LIGHTNING.BACKEND === 'lnd') {
if (config.LIGHTNING.BACKEND === 'cln') {
return convertChannelId(id);
}
else if (config.LIGHTNING.BACKEND === 'lnd') {
return id;
}
return convertChannelId(id);
return '';
}
/** Decodes a channel id returned by lnd as uint64 to a short channel id */