| 17 | }; |
| 18 | |
| 19 | static void *encode(const tal_t *ctx, const struct update_add_htlc *s) |
| 20 | { |
| 21 | return towire_update_add_htlc( |
| 22 | ctx, &s->channel_id, s->id, s->amount_msat, &s->payment_hash, |
| 23 | s->expiry, s->onion_routing_packet, s->tlvs); |
| 24 | } |
| 25 | |
| 26 | static struct update_add_htlc *decode(const tal_t *ctx, const void *p) |
| 27 | { |
nothing calls this directly
no outgoing calls
no test coverage detected