| 597 | } |
| 598 | |
| 599 | static void save_node_bias(struct layer *layer, const struct node_bias *bias) |
| 600 | { |
| 601 | u8 *data; |
| 602 | |
| 603 | if (!layer->persistent) |
| 604 | return; |
| 605 | |
| 606 | data = tal_arr(tmpctx, u8, 0); |
| 607 | towire_save_node_bias(&data, bias); |
| 608 | append_layer_datastore(layer, data); |
| 609 | } |
| 610 | |
| 611 | static void load_channel_bias(struct plugin *plugin, |
| 612 | struct layer *layer, |
no test coverage detected