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