| 590 | } |
| 591 | |
| 592 | static void save_node_bias(struct layer *layer, const struct node_bias *bias) |
| 593 | { |
| 594 | u8 *data; |
| 595 | |
| 596 | if (!layer->persistent) |
| 597 | return; |
| 598 | |
| 599 | data = tal_arr(tmpctx, u8, 0); |
| 600 | towire_save_node_bias(&data, bias); |
| 601 | append_layer_datastore(layer, data); |
| 602 | } |
| 603 | |
| 604 | static void load_channel_bias(struct plugin *plugin, |
| 605 | struct layer *layer, |
no test coverage detected