| 503 | } |
| 504 | |
| 505 | static void load_channel_update(struct plugin *plugin, |
| 506 | struct layer *layer, |
| 507 | const u8 **cursor, |
| 508 | size_t *len) |
| 509 | { |
| 510 | struct short_channel_id_dir scidd; |
| 511 | bool *enabled; |
| 512 | struct amount_msat *htlc_min, *htlc_max, *base_fee; |
| 513 | u32 *proportional_fee; |
| 514 | u16 *delay; |
| 515 | |
| 516 | if (fromwire_dstore_channel_update(tmpctx, cursor, len, |
| 517 | &scidd, |
| 518 | &enabled, |
| 519 | &htlc_min, |
| 520 | &htlc_max, |
| 521 | &base_fee, |
| 522 | &proportional_fee, |
| 523 | &delay)) |
| 524 | add_update_channel(layer, &scidd, |
| 525 | enabled, |
| 526 | htlc_min, |
| 527 | htlc_max, |
| 528 | base_fee, |
| 529 | proportional_fee, |
| 530 | delay); |
| 531 | } |
| 532 | |
| 533 | static void towire_save_channel_constraint(u8 **data, const struct constraint *c) |
| 534 | { |
no test coverage detected