| 933 | "Payment execution ended without success."); |
| 934 | } |
| 935 | static struct command_result *end_cb(struct payment *payment) |
| 936 | { |
| 937 | struct command *cmd = payment_command(payment); |
| 938 | assert(cmd); |
| 939 | struct out_req *req = |
| 940 | jsonrpc_request_start(cmd, "waitblockheight", end_done, |
| 941 | payment_rpc_failure, payment); |
| 942 | json_add_num(req->js, "blockheight", 0); |
| 943 | return send_outreq(req); |
| 944 | } |
| 945 | |
| 946 | REGISTER_PAYMENT_MODIFIER(end, end_cb); |
| 947 |
nothing calls this directly
no test coverage detected