| 141 | } |
| 142 | |
| 143 | static void ld_rpc_send(struct plugin *plugin, struct json_stream *stream) |
| 144 | { |
| 145 | struct jstream *jstr = tal(plugin, struct jstream); |
| 146 | jstr->js = tal_steal(jstr, stream); |
| 147 | list_add_tail(&plugin->rpc_js_list, &jstr->list); |
| 148 | io_wake(plugin->io_rpc_conn); |
| 149 | } |
| 150 | |
| 151 | |
| 152 | /* When cmd for request is gone, we use this as noop callback */ |
no test coverage detected