This commit is contained in:
parent
989b195ba5
commit
36ae5c5f4e
@ -31,8 +31,8 @@ function updateLightning() {
|
||||
let ascii_length1 = channel.local_balance * divider;
|
||||
let ascii_length2 = channel.remote_balance * divider;
|
||||
channel.local = (Math.round(ascii_length1));
|
||||
channel.remote = (max - (Math.round(ascii_length2)));
|
||||
channel.total = ((channel.local) +(channel.remote);
|
||||
channel.remote = (max - (Math.round(ascii_length1)));
|
||||
channel.total = ((channel.local) + (channel.remote);
|
||||
channel.capacity_btc = channel.capacity / 100000000;
|
||||
channel.name = pubkey2name[channel.remote_pubkey];
|
||||
if (channel.name) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user