mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix #6103: local config contains remote reserve
This commit is contained in:
parent
1a4d33086b
commit
4d01a550c4
1 changed files with 2 additions and 2 deletions
|
@ -1032,8 +1032,8 @@ class Commands:
|
||||||
'remote_pubkey': bh2u(chan.node_id),
|
'remote_pubkey': bh2u(chan.node_id),
|
||||||
'local_balance': chan.balance(LOCAL)//1000,
|
'local_balance': chan.balance(LOCAL)//1000,
|
||||||
'remote_balance': chan.balance(REMOTE)//1000,
|
'remote_balance': chan.balance(REMOTE)//1000,
|
||||||
'local_reserve': chan.config[LOCAL].reserve_sat,
|
'local_reserve': chan.config[REMOTE].reserve_sat, # their config has our reserve
|
||||||
'remote_reserve': chan.config[REMOTE].reserve_sat,
|
'remote_reserve': chan.config[LOCAL].reserve_sat,
|
||||||
'local_unsettled_sent': chan.balance_tied_up_in_htlcs_by_direction(LOCAL, direction=SENT) // 1000,
|
'local_unsettled_sent': chan.balance_tied_up_in_htlcs_by_direction(LOCAL, direction=SENT) // 1000,
|
||||||
'remote_unsettled_sent': chan.balance_tied_up_in_htlcs_by_direction(REMOTE, direction=SENT) // 1000,
|
'remote_unsettled_sent': chan.balance_tied_up_in_htlcs_by_direction(REMOTE, direction=SENT) // 1000,
|
||||||
} for channel_id, chan in l
|
} for channel_id, chan in l
|
||||||
|
|
Loading…
Add table
Reference in a new issue