| 142 | } |
| 143 | |
| 144 | void towire_point32(u8 **pptr, const struct point32 *point32) |
| 145 | { |
| 146 | u8 output[32]; |
| 147 | |
| 148 | secp256k1_xonly_pubkey_serialize(secp256k1_ctx, output, |
| 149 | &point32->pubkey); |
| 150 | towire(pptr, output, sizeof(output)); |
| 151 | } |
| 152 | |
| 153 | static char *point32_to_hexstr(const tal_t *ctx, const struct point32 *point32) |
| 154 | { |