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

Function find_htlc_in

lightningd/htlc_end.c:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22struct htlc_in *find_htlc_in(const struct htlc_in_map *map,
23 const struct channel *channel,
24 u64 htlc_id)
25{
26 const struct htlc_key key = { (struct channel *)channel, htlc_id };
27 return htlc_in_map_get(map, &key);
28}
29
30struct htlc_in *remove_htlc_in_by_dbid(struct htlc_in_map *remaining_htlcs_in,
31 u64 dbid)

Callers 3

peer_accepted_htlcFunction · 0.85
update_in_htlcFunction · 0.85
peer_got_revokeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected