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

Function valid_recovery_id

common/bolt11.c:977–977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975}
976
977static bool valid_recovery_id(u8 recid) { return recid <= 3; }
978
979/* Decodes and checks signature; returns NULL on error. */
980struct bolt11 *bolt11_decode(const tal_t *ctx, const char *str,

Callers 1

bolt11_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected