| 3163 | } |
| 3164 | |
| 3165 | void 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 | |
| 3179 | static u64 htlcs_index_inc(struct lightningd *ld, |
no test coverage detected