| 70 | } |
| 71 | |
| 72 | bool check_signed_hash_nodeid(const struct sha256_double *hash, |
| 73 | const secp256k1_ecdsa_signature *signature, |
| 74 | const struct node_id *id) |
| 75 | { |
| 76 | struct pubkey key; |
| 77 | |
| 78 | return pubkey_from_node_id(&key, id) |
| 79 | && check_signed_hash(hash, signature, &key); |
| 80 | } |
no test coverage detected