No channel_announcement now pending, so process every update which was waiting. */
| 1272 | |
| 1273 | /* No channel_announcement now pending, so process every update which was waiting. */ |
| 1274 | static void reprocess_pending_cupdates(struct gossmap_manage *gm) |
| 1275 | { |
| 1276 | /* Grab current array and reset to empty */ |
| 1277 | struct pending_cupdate **pcus = gm->pending_cupdates; |
| 1278 | |
| 1279 | gm->pending_cupdates = tal_arr(gm, struct pending_cupdate *, 0); |
| 1280 | |
| 1281 | /* Now we can canonically process any pending channel_updates */ |
| 1282 | for (size_t i = 0; i < tal_count(pcus); i++) |
| 1283 | process_pending_cupdate(gm, pcus[i]); |
| 1284 | |
| 1285 | tal_free(pcus); |
| 1286 | } |
| 1287 | |
| 1288 | /* No channel_announcement are early, so process every update which was for those. */ |
| 1289 | static void reprocess_early_cupdates(struct gossmap_manage *gm) |
no test coverage detected