From 35ee800b6e69a538b03d9f1e267cb7928b53d325 Mon Sep 17 00:00:00 2001 From: gorazdko Date: Sat, 26 Oct 2019 00:02:50 +0200 Subject: [PATCH] json-rpc: show lightning-dir in getinfo --- lightningd/peer_control.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lightningd/peer_control.c b/lightningd/peer_control.c index 08624169c..43fa782ab 100644 --- a/lightningd/peer_control.c +++ b/lightningd/peer_control.c @@ -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",