| 63 | } |
| 64 | |
| 65 | static char *sig_as_hex(const secp256k1_ecdsa_signature *sig) |
| 66 | { |
| 67 | u8 compact_sig[64]; |
| 68 | |
| 69 | secp256k1_ecdsa_signature_serialize_compact(secp256k1_ctx, |
| 70 | compact_sig, |
| 71 | sig); |
| 72 | return tal_hexstr(NULL, compact_sig, sizeof(compact_sig)); |
| 73 | } |
| 74 | |
| 75 | static char *sig_notation(const struct privkey *privkey, |
| 76 | struct sha256_double *hash, |
no test coverage detected