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