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

Function fixup_htlcs_out

lightningd/peer_htlcs.c:3165–3176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3163}
3164
3165void fixup_htlcs_out(struct lightningd *ld)
3166{
3167 struct htlc_out_map_iter outi;
3168 struct htlc_out *hout;
3169
3170 for (hout = htlc_out_map_first(ld->htlcs_out, &outi);
3171 hout;
3172 hout = htlc_out_map_next(ld->htlcs_out, &outi)) {
3173 if (!hout->am_origin)
3174 fixup_hout(ld, hout);
3175 }
3176}
3177#endif /* COMPAT_V061 */
3178
3179static u64 htlcs_index_inc(struct lightningd *ld,

Callers 1

Calls 1

fixup_houtFunction · 0.85

Tested by

no test coverage detected