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

Function json_to_bip340sig

plugins/fetchinvoice.c:1432–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1430}
1431
1432static bool json_to_bip340sig(const char *buffer, const jsmntok_t *tok,
1433 struct bip340sig *sig)
1434{
1435 return hex_decode(buffer + tok->start, tok->end - tok->start,
1436 sig->u8, sizeof(sig->u8));
1437}
1438
1439static struct command_result *payersign_done(struct command *cmd,
1440 const char *buf,

Callers 1

payersign_doneFunction · 0.85

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected