| 412 | } |
| 413 | |
| 414 | void connect_succeeded(struct lightningd *ld, const struct peer *peer, |
| 415 | bool incoming, |
| 416 | const struct wireaddr_internal *addr) |
| 417 | { |
| 418 | struct connect *c; |
| 419 | |
| 420 | /* We can have multiple connect commands: fail them all */ |
| 421 | while ((c = find_connect(ld, &peer->id)) != NULL) { |
| 422 | /* They delete themselves from list */ |
| 423 | connect_cmd_succeed(c->cmd, peer, incoming, addr); |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | struct custommsg_payload { |
| 428 | struct node_id peer_id; |
no test coverage detected