Callback for watch_found RPC. * watch_found notifications are sent on an aux command so they cannot * interfere with the poll command lifetime. */
| 16 | * watch_found notifications are sent on an aux command so they cannot |
| 17 | * interfere with the poll command lifetime. */ |
| 18 | static struct command_result *notify_ack(struct command *cmd, |
| 19 | const char *method UNUSED, |
| 20 | const char *buf UNUSED, |
| 21 | const jsmntok_t *result UNUSED, |
| 22 | void *arg UNUSED) |
| 23 | { |
| 24 | return aux_command_done(cmd); |
| 25 | } |
| 26 | |
| 27 | /* Send watch_found notification to lightningd. */ |
| 28 | void bwatch_send_watch_found(struct command *cmd, |
nothing calls this directly
no test coverage detected