| 259 | } |
| 260 | |
| 261 | static void print_features(const char *fieldname, const u8 *features) |
| 262 | { |
| 263 | printf("%s:", fieldname); |
| 264 | for (size_t i = 0; i < tal_bytelen(features) * CHAR_BIT; i++) { |
| 265 | if (feature_is_set(features, i)) |
| 266 | printf(" %zu", i); |
| 267 | } |
| 268 | printf("\n"); |
| 269 | } |
| 270 | |
| 271 | static bool print_blindedpaths(const char *fieldname, |
| 272 | struct blinded_path **paths, |
no test coverage detected