| 522 | } |
| 523 | |
| 524 | void featurebits_unset(u8 **ptr, size_t bit) |
| 525 | { |
| 526 | size_t len = tal_count(*ptr); |
| 527 | if (bit / 8 >= len) |
| 528 | return; |
| 529 | |
| 530 | (*ptr)[len - 1 - bit / 8] &= (0 << (bit % 8)); |
| 531 | |
| 532 | trim_features(ptr); |
| 533 | } |
| 534 | |
| 535 | bool featurebits_eq(const u8 *f1, const u8 *f2) |
| 536 | { |
no test coverage detected