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

Function opt_add_node_id

lightningd/options.c:1291–1299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1289}
1290
1291static char *opt_add_node_id(const char *arg, struct node_id **arr)
1292{
1293 struct node_id n;
1294 if (!node_id_from_hexstr(arg, strlen(arg), &n))
1295 return "Unparsable nodeid";
1296
1297 tal_arr_expand(arr, n);
1298 return NULL;
1299}
1300
1301char *hsm_secret_arg(const tal_t *ctx,
1302 const char *arg,

Callers

nothing calls this directly

Calls 1

node_id_from_hexstrFunction · 0.50

Tested by

no test coverage detected