Tell one owner that a previously-reported watch_found was rolled back. */
| 89 | |
| 90 | /* Tell one owner that a previously-reported watch_found was rolled back. */ |
| 91 | void bwatch_send_watch_revert(struct command *cmd, |
| 92 | const char *owner, |
| 93 | u32 blockheight) |
| 94 | { |
| 95 | struct command *aux = aux_command(cmd); |
| 96 | struct out_req *req; |
| 97 | |
| 98 | req = jsonrpc_request_start(aux, "watch_revert", |
| 99 | notify_ack, notify_ack, NULL); |
| 100 | json_add_string(req->js, "owner", owner); |
| 101 | json_add_u32(req->js, "blockheight", blockheight); |
| 102 | send_outreq(req); |
| 103 | } |
| 104 | |
| 105 | /* |
| 106 | * ============================================================================ |
no test coverage detected