| 364 | } |
| 365 | |
| 366 | static struct command_result * |
| 367 | send_payment_req(struct command *aux_cmd, |
| 368 | struct payment *payment, struct out_req *req) |
| 369 | { |
| 370 | tal_arr_expand(&payment->requests, req); |
| 371 | tal_add_destructor2(req, destroy_payment_request, payment); |
| 372 | return send_outreq(req); |
| 373 | } |
| 374 | |
| 375 | /* For self-pay, we don't have hops. */ |
| 376 | static struct amount_msat initial_sent(const struct attempt *attempt) |
no test coverage detected