Convert to hex string of SEC1 encoding */
| 35 | |
| 36 | /* Convert to hex string of SEC1 encoding */ |
| 37 | char *fmt_node_id(const tal_t *ctx, const struct node_id *id) |
| 38 | { |
| 39 | return tal_hexstr(ctx, id->k, sizeof(id->k)); |
| 40 | } |
| 41 | |
| 42 | /* Convert from hex string of SEC1 encoding */ |
| 43 | bool node_id_from_hexstr(const char *str, size_t slen, struct node_id *id) |