This commit is contained in:
ncoelho 2021-02-17 15:06:46 +01:00 committed by Overtorment
parent 41567ac160
commit c177a046f8

View File

@ -29,8 +29,8 @@ function updateLightning() {
let divider = 5242870;
let ascii_length1 = channel.local_balance / divider;
let ascii_length2 = channel.remote_balance / divider;
channel.local = (Math.round(ascii_length1));
channel.remote = (Math.round(ascii_length2));
channel.local = ascii_length1;
channel.remote = ascii_length2;
channel.capacity_btc = channel.capacity / 100000000;
channel.name = pubkey2name[channel.remote_pubkey];
if (channel.name) {