MCPcopy Create free account
hub / github.com/ElementsProject/lightning / find_ping_command

Function find_ping_command

lightningd/ping.c:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22static struct ping_command *find_ping_command(struct lightningd *ld,
23 u64 reqid)
24{
25 struct ping_command *i;
26 list_for_each(&ld->ping_commands, i, list) {
27 if (i->reqid == reqid)
28 return i;
29 }
30 return NULL;
31}
32
33void handle_ping_done(struct subd *connectd, const u8 *msg)
34{

Callers 1

handle_ping_doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected