| 150 | } |
| 151 | |
| 152 | static struct command_result *json_testrpc(struct command *cmd, |
| 153 | const char *buf, |
| 154 | const jsmntok_t *params) |
| 155 | { |
| 156 | struct out_req *req; |
| 157 | |
| 158 | if (!param(cmd, buf, params, NULL)) |
| 159 | return command_param_failed(); |
| 160 | |
| 161 | req = jsonrpc_request_start(cmd, "getinfo", testrpc_cb, |
| 162 | testrpc_cb, NULL); |
| 163 | return send_outreq(req); |
| 164 | } |
| 165 | |
| 166 | static struct command_result *listdatastore_ok(struct command *cmd, |
| 167 | const char *method, |
nothing calls this directly
no test coverage detected