From 2385d8d6138598302d7e8471522972f2fd1d43e1 Mon Sep 17 00:00:00 2001 From: niftynei Date: Tue, 19 Jul 2022 17:04:36 +0930 Subject: [PATCH] bkpr: listbalances, rename 'account_id' => 'account' --- plugins/bkpr/bookkeeper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bkpr/bookkeeper.c b/plugins/bkpr/bookkeeper.c index 40388a7e7..897066bb9 100644 --- a/plugins/bkpr/bookkeeper.c +++ b/plugins/bkpr/bookkeeper.c @@ -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);