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

Function opt_show_alias

lightningd/options.c:443–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443static bool opt_show_alias(char *buf, size_t len, const struct lightningd *ld)
444{
445 /* Can happen with -h! */
446 if (!ld->alias)
447 return false;
448
449 strncpy(buf, cast_signed(const char *, ld->alias), len);
450 return true;
451}
452
453static char *opt_set_alias(const char *arg, struct lightningd *ld)
454{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected