Browse Source

json-rpc: show lightning-dir in getinfo

travis-debug
gorazdko 5 years ago
committed by neil saitug
parent
commit
35ee800b6e
  1. 1
      lightningd/peer_control.c

1
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",

Loading…
Cancel
Save