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

Function fixup_htlcs_out

lightningd/peer_htlcs.c:2728–2739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2726}
2727
2728void fixup_htlcs_out(struct lightningd *ld)
2729{
2730 struct htlc_out_map_iter outi;
2731 struct htlc_out *hout;
2732
2733 for (hout = htlc_out_map_first(&ld->htlcs_out, &outi);
2734 hout;
2735 hout = htlc_out_map_next(&ld->htlcs_out, &outi)) {
2736 if (!hout->am_origin)
2737 fixup_hout(ld, hout);
2738 }
2739}
2740#endif /* COMPAT_V061 */
2741
2742void htlcs_resubmit(struct lightningd *ld,

Callers 1

Calls 1

fixup_houtFunction · 0.85

Tested by

no test coverage detected