| 1010 | } |
| 1011 | |
| 1012 | static struct command_result *json_list_balances(struct command *cmd, |
| 1013 | const char *buf, |
| 1014 | const jsmntok_t *params) |
| 1015 | { |
| 1016 | if (!param(cmd, buf, params, NULL)) |
| 1017 | return command_param_failed(); |
| 1018 | |
| 1019 | return refresh_moves(cmd, do_list_balances, NULL); |
| 1020 | } |
| 1021 | |
| 1022 | struct new_account_info { |
| 1023 | struct account *acct; |
nothing calls this directly
no test coverage detected