| 3287 | struct payment *p); |
| 3288 | |
| 3289 | static struct command_result *shadow_route_extend(struct shadow_route_data *d, |
| 3290 | struct payment *p) |
| 3291 | { |
| 3292 | struct out_req *req; |
| 3293 | req = jsonrpc_request_start(payment_cmd(p), "listchannels", |
| 3294 | shadow_route_listchannels, |
| 3295 | payment_rpc_failure, p); |
| 3296 | json_add_node_id(req->js, "source", &d->destination); |
| 3297 | return send_outreq(req); |
| 3298 | } |
| 3299 | |
| 3300 | static struct command_result *shadow_route_listchannels(struct command *cmd, |
| 3301 | const char *method, |
no test coverage detected