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

Function new_info

common/test/run-derive_basepoints.c:128–134  ·  view source on GitHub ↗

We get a fresh one each time, to catch uninitialized fields */

Source from the content-addressed store, hash-verified

126
127/* We get a fresh one each time, to catch uninitialized fields */
128static struct info *new_info(const tal_t *ctx)
129{
130 struct info *info = tal(ctx, struct info);
131 memset(&info->seed, 7, sizeof(info->seed));
132
133 return info;
134}
135
136int main(int argc, char *argv[])
137{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected