mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
bkpr: listbalances, rename 'account_id' => 'account'
This commit is contained in:
parent
f767e41755
commit
2385d8d613
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ static struct command_result *json_list_balances(struct command *cmd,
|
|||
/* Add it to the result data */
|
||||
json_object_start(res, NULL);
|
||||
|
||||
json_add_string(res, "account_id", accts[i]->name);
|
||||
json_add_string(res, "account", accts[i]->name);
|
||||
json_array_start(res, "balances");
|
||||
for (size_t j = 0; j < tal_count(balances); j++) {
|
||||
json_object_start(res, NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue