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

Function rune_is_ours

lightningd/runes.c:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46const char *rune_is_ours(struct lightningd *ld, const struct rune *rune)
47{
48 return rune_is_derived(ld->runes->master, rune);
49}
50
51/* Convert unique_id string to u64. We only expect this to fail when we're
52 * dealing with runes from elsewhere (i.e. param_rune) */

Callers 2

json_add_runeFunction · 0.85
json_checkruneFunction · 0.85

Calls 1

rune_is_derivedFunction · 0.85

Tested by

no test coverage detected