| 126 | } |
| 127 | |
| 128 | void towire_dstore_channel(u8 **data, |
| 129 | const struct node_id *n1, |
| 130 | const struct node_id *n2, |
| 131 | struct short_channel_id scid, |
| 132 | struct amount_msat capacity) |
| 133 | { |
| 134 | towire_u16(data, DSTORE_CHANNEL); |
| 135 | towire_node_id(data, n1); |
| 136 | towire_node_id(data, n2); |
| 137 | towire_short_channel_id(data, scid); |
| 138 | towire_amount_msat(data, capacity); |
| 139 | } |
| 140 | |
| 141 | bool fromwire_dstore_channel_update(const tal_t *ctx, |
| 142 | const u8 **cursor, size_t *len, |
no test coverage detected