| 598 | } |
| 599 | |
| 600 | struct feature_set *feature_set_dup(const tal_t *ctx, |
| 601 | const struct feature_set *other) |
| 602 | { |
| 603 | struct feature_set *res = tal(ctx, struct feature_set); |
| 604 | |
| 605 | for (size_t i = 0; i < ARRAY_SIZE(res->bits); i++) |
| 606 | res->bits[i] = tal_dup_talarr(res, u8, other->bits[i]); |
| 607 | |
| 608 | return res; |
| 609 | } |
no outgoing calls
no test coverage detected