| 90 | } |
| 91 | |
| 92 | static struct command_result *json_testrpc(struct command *cmd, |
| 93 | const char *buf, |
| 94 | const jsmntok_t *params) |
| 95 | { |
| 96 | struct out_req *req; |
| 97 | |
| 98 | if (!param(cmd, buf, params, NULL)) |
| 99 | return command_param_failed(); |
| 100 | |
| 101 | req = jsonrpc_request_start(cmd->plugin, cmd, "getinfo", testrpc_cb, |
| 102 | testrpc_cb, NULL); |
| 103 | return send_outreq(cmd->plugin, req); |
| 104 | } |
| 105 | |
| 106 | #if DEVELOPER |
| 107 | static void memleak_mark(struct plugin *p, struct htable *memtable) |
nothing calls this directly
no test coverage detected