Merge #300: Fix lnd nodeinfo

9480ada135 nodeinfo fix lnd (kon)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    ACK 9480ada135

Tree-SHA512: 5da72fa8b6341b8248348acf23916d5325cf8f1d58606103aee2881824f83249d128e84d92cd2ca51cea3e6b64b1a6e457bde4689335998e5f8525d7f366bfdc
This commit is contained in:
Jonas Nick 2021-01-17 19:58:36 +00:00
commit ecf119d545
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

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 "";