| 18 | }; |
| 19 | |
| 20 | static void *encode(const tal_t *ctx, const struct channel_update *s) |
| 21 | { |
| 22 | return towire_channel_update( |
| 23 | ctx, &s->signature, &s->chain_hash, s->short_channel_id, |
| 24 | s->timestamp, s->message_flags, s->channel_flags, |
| 25 | s->cltv_expiry_delta, s->htlc_minimum_msat, s->fee_base_msat, |
| 26 | s->fee_proportional_millionths, s->htlc_maximum_msat); |
| 27 | } |
| 28 | |
| 29 | static struct channel_update *decode(const tal_t *ctx, const void *p) |
| 30 | { |
nothing calls this directly
no outgoing calls
no test coverage detected