mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
json-rpc: show lightning-dir in getinfo
This commit is contained in:
parent
f690c35883
commit
35ee800b6e
1 changed files with 1 additions and 0 deletions
|
@ -1715,6 +1715,7 @@ static struct command_result *json_getinfo(struct command *cmd,
|
|||
wallet_total_forward_fees(cmd->ld->wallet),
|
||||
"msatoshi_fees_collected",
|
||||
"fees_collected_msat");
|
||||
json_add_string(response, "lightning-dir", cmd->ld->config_dir);
|
||||
|
||||
if (!cmd->ld->topology->bitcoind->synced)
|
||||
json_add_string(response, "warning_bitcoind_sync",
|
||||
|
|
Loading…
Add table
Reference in a new issue