mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
json-rpc: show lightning-dir in getinfo
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user