| 550 | } |
| 551 | |
| 552 | static void load_channel_constraint(struct plugin *plugin, |
| 553 | struct layer *layer, |
| 554 | const u8 **cursor, |
| 555 | size_t *len) |
| 556 | { |
| 557 | struct short_channel_id_dir scidd; |
| 558 | struct amount_msat *min; |
| 559 | struct amount_msat *max; |
| 560 | u64 timestamp; |
| 561 | |
| 562 | if (fromwire_dstore_channel_constraint(tmpctx, cursor, len, |
| 563 | &scidd, ×tamp, |
| 564 | &min, &max)) |
| 565 | add_constraint(layer, &scidd, timestamp, min, max); |
| 566 | } |
| 567 | |
| 568 | static void towire_save_channel_bias(u8 **data, const struct bias *bias) |
| 569 | { |
no test coverage detected