nodeinfo fix lnd

This commit is contained in:
kon 2021-01-17 17:13:09 +01:00
parent c6c14889eb
commit 9480ada135

View File

@ -13,7 +13,7 @@ let
info["id"] = f"{info['nodeid']}@{info['onion_address']}" info["id"] = f"{info['nodeid']}@{info['onion_address']}"
''; '';
lnd = mkInfo '' lnd = mkInfo ''
info["nodeid"] = shell("lightning-cli getinfo | jq -r '.id'") info["nodeid"] = shell("lncli getinfo | jq -r '.identity_pubkey'")
''; '';
electrs = mkInfo ""; electrs = mkInfo "";
spark-wallet = mkInfo ""; spark-wallet = mkInfo "";