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

Function find_htlc_out

lightningd/htlc_end.c:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57struct htlc_out *find_htlc_out(const struct htlc_out_map *map,
58 const struct channel *channel,
59 u64 htlc_id)
60{
61 const struct htlc_key key = { (struct channel *)channel, htlc_id };
62 return htlc_out_map_get(map, &key);
63}
64
65static void destroy_htlc_out(struct htlc_out *hend, struct htlc_out_map *map)
66{

Callers 6

tell_if_missingFunction · 0.85
rcvd_htlc_replyFunction · 0.85
peer_fulfilled_our_htlcFunction · 0.85
peer_failed_our_htlcFunction · 0.85
onchain_failed_our_htlcFunction · 0.85
update_out_htlcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected