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

Function find_htlc_in

lightningd/htlc_end.c:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

htlc_incoming_deadlineFunction · 0.85
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