| 3303 | struct payment *p); |
| 3304 | |
| 3305 | static struct command_result *shadow_route_extend(struct shadow_route_data *d, |
| 3306 | struct payment *p) |
| 3307 | { |
| 3308 | struct out_req *req; |
| 3309 | req = jsonrpc_request_start(payment_cmd(p), "listchannels", |
| 3310 | shadow_route_listchannels, |
| 3311 | payment_rpc_failure, p); |
| 3312 | json_add_node_id(req->js, "source", &d->destination); |
| 3313 | return send_outreq(req); |
| 3314 | } |
| 3315 | |
| 3316 | static struct command_result *shadow_route_listchannels(struct command *cmd, |
| 3317 | const char *method, |
no test coverage detected