mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
fix: use correct field from response (old one got removed) (#1999)
This commit is contained in:
parent
9f847ffcad
commit
6e5fbb92e8
@ -247,7 +247,9 @@ class CoreLightningNode(Node):
|
||||
backend_name="CLN",
|
||||
alias=info["alias"],
|
||||
color=info["color"],
|
||||
onchain_balance_sat=sum(output["value"] for output in funds["outputs"]),
|
||||
onchain_balance_sat=sum(
|
||||
output["amount_msat"] / 1000 for output in funds["outputs"]
|
||||
),
|
||||
onchain_confirmed_sat=sum(
|
||||
output["amount_msat"] / 1000
|
||||
for output in funds["outputs"]
|
||||
|
Loading…
Reference in New Issue
Block a user