MCPcopy Create free account
hub / github.com/ElementsProject/lightning / towire_point32

Function towire_point32

bitcoin/pubkey.c:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void 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
153static char *point32_to_hexstr(const tal_t *ctx, const struct point32 *point32)
154{

Callers

nothing calls this directly

Calls 1

towireFunction · 0.50

Tested by

no test coverage detected