| 18 | } |
| 19 | |
| 20 | WARN_UNUSED_RESULT |
| 21 | bool pubkey_from_node_id(struct pubkey *key, const struct node_id *id) |
| 22 | { |
| 23 | return secp256k1_ec_pubkey_parse(secp256k1_ctx, &key->pubkey, |
| 24 | memcheck(id->k, sizeof(id->k)), |
| 25 | sizeof(id->k)); |
| 26 | } |
| 27 | |
| 28 | WARN_UNUSED_RESULT |
| 29 | bool point32_from_node_id(struct point32 *key, const struct node_id *id) |
no outgoing calls
no test coverage detected