| 1248 | } |
| 1249 | |
| 1250 | static void process_pending_cupdate(struct gossmap_manage *gm, |
| 1251 | struct pending_cupdate *pcu) |
| 1252 | { |
| 1253 | const char *err; |
| 1254 | |
| 1255 | err = process_channel_update(tmpctx, gm, |
| 1256 | pcu->scid, |
| 1257 | &pcu->signature, |
| 1258 | pcu->message_flags, |
| 1259 | pcu->channel_flags, |
| 1260 | pcu->cltv_expiry_delta, |
| 1261 | pcu->htlc_minimum_msat, |
| 1262 | pcu->htlc_maximum_msat, |
| 1263 | pcu->fee_base_msat, |
| 1264 | pcu->fee_proportional_millionths, |
| 1265 | pcu->timestamp, |
| 1266 | pcu->update, |
| 1267 | pcu->source_peer); |
| 1268 | if (err) |
| 1269 | peer_warning(gm, pcu->source_peer, |
| 1270 | "channel_update: %s", err); |
| 1271 | } |
| 1272 | |
| 1273 | /* No channel_announcement now pending, so process every update which was waiting. */ |
| 1274 | static void reprocess_pending_cupdates(struct gossmap_manage *gm) |
no test coverage detected