| 288 | } |
| 289 | |
| 290 | static bool test_bit(const u8 *features, size_t byte, unsigned int bit) |
| 291 | { |
| 292 | assert(byte < tal_count(features)); |
| 293 | return features[tal_count(features) - 1 - byte] & (1 << (bit % 8)); |
| 294 | } |
| 295 | |
| 296 | /* BOLT #7: |
| 297 | * |
no outgoing calls
no test coverage detected