| 31 | } |
| 32 | |
| 33 | static struct command_result *get_ds_bin_done(struct command *cmd, |
| 34 | const u8 *val, |
| 35 | char *arg) |
| 36 | { |
| 37 | plugin_log(cmd->plugin, LOG_INFORM, "get_ds_bin_done: %s", |
| 38 | val ? tal_hex(tmpctx, val) : "NOT FOUND"); |
| 39 | |
| 40 | return jsonrpc_get_datastore_string(cmd, |
| 41 | mkdatastorekey(tmpctx, "test_libplugin", "name"), |
| 42 | get_ds_done, arg); |
| 43 | } |
| 44 | |
| 45 | static struct command_result *json_helloworld(struct command *cmd, |
| 46 | const char *buf, |
nothing calls this directly
no test coverage detected