| 3011 | struct payment *p); |
| 3012 | |
| 3013 | static struct command_result *shadow_route_extend(struct shadow_route_data *d, |
| 3014 | struct payment *p) |
| 3015 | { |
| 3016 | struct out_req *req; |
| 3017 | req = jsonrpc_request_start(p->plugin, NULL, "listchannels", |
| 3018 | shadow_route_listchannels, |
| 3019 | payment_rpc_failure, p); |
| 3020 | json_add_node_id(req->js, "source", &d->destination); |
| 3021 | return send_outreq(p->plugin, req); |
| 3022 | } |
| 3023 | |
| 3024 | static struct command_result *shadow_route_listchannels(struct command *cmd, |
| 3025 | const char *buf, |
no test coverage detected