| 169 | } |
| 170 | |
| 171 | static char *opt_set_ad(const char *arg, u8 **assocdata) |
| 172 | { |
| 173 | *assocdata = tal_hexdata(NULL, arg, strlen(arg)); |
| 174 | if (!*assocdata) |
| 175 | return "Bad hex string"; |
| 176 | return NULL; |
| 177 | } |
| 178 | |
| 179 | static bool opt_show_ad(char *buf, size_t len, u8 *const *assocdata) |
| 180 | { |
nothing calls this directly
no test coverage detected