It's valid if we can convert to a real pubkey. */
| 28 | |
| 29 | /* It's valid if we can convert to a real pubkey. */ |
| 30 | bool node_id_valid(const struct node_id *id) |
| 31 | { |
| 32 | struct pubkey key; |
| 33 | return pubkey_from_node_id(&key, id); |
| 34 | } |
| 35 | |
| 36 | /* Convert to hex string of SEC1 encoding */ |
| 37 | char *fmt_node_id(const tal_t *ctx, const struct node_id *id) |
no test coverage detected