| 20 | } |
| 21 | |
| 22 | static struct commitment_signed *decode(const tal_t *ctx, const void *p) |
| 23 | { |
| 24 | struct commitment_signed *s = tal(ctx, struct commitment_signed); |
| 25 | |
| 26 | if (fromwire_commitment_signed(s, p, &s->channel_id, &s->signature, |
| 27 | &s->htlc_signature, &s->tlvs)) |
| 28 | return s; |
| 29 | return tal_free(s); |
| 30 | } |
| 31 | |
| 32 | static bool equal(struct commitment_signed *x, struct commitment_signed *y) |
| 33 | { |
nothing calls this directly
no test coverage detected