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

Function forward_index_created

lightningd/forwards.c:43–53  ·  view source on GitHub ↗

Fortuntely, dbids start at 1, not 0! */

Source from the content-addressed store, hash-verified

41
42/* Fortuntely, dbids start at 1, not 0! */
43u64 forward_index_created(struct lightningd *ld,
44 enum forward_status status,
45 struct short_channel_id in_channel,
46 u64 in_htlc_id,
47 struct amount_msat in_amount,
48 const struct short_channel_id *out_channel)
49{
50 return forward_index_inc(ld, status, in_channel, in_htlc_id,
51 &in_amount, out_channel,
52 WAIT_INDEX_CREATED);
53}
54
55u64 forward_index_update_status(struct lightningd *ld,
56 enum forward_status status,

Callers

nothing calls this directly

Calls 1

forward_index_incFunction · 0.85

Tested by

no test coverage detected