| 1873 | } |
| 1874 | |
| 1875 | static struct command_result * |
| 1876 | currency_chainmoves_wait(struct command *auxcmd, void *unused) |
| 1877 | { |
| 1878 | struct bkpr *bkpr = bkpr_of(auxcmd->plugin); |
| 1879 | struct out_req *req; |
| 1880 | req = jsonrpc_request_start(auxcmd, "wait", |
| 1881 | currency_chainmoves_wait_done, |
| 1882 | plugin_broken_cb, |
| 1883 | NULL); |
| 1884 | json_add_string(req->js, "subsystem", "chainmoves"); |
| 1885 | json_add_string(req->js, "indexname", "created"); |
| 1886 | json_add_u64(req->js, "nextvalue", bkpr->chainmoves_index+1); |
| 1887 | return send_outreq(req); |
| 1888 | } |
| 1889 | |
| 1890 | static struct command_result * |
| 1891 | currency_channelmoves_wait(struct command *auxcmd, void *unused) |
no test coverage detected