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

Function init

tests/fuzz/fuzz-close_tx.c:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include <wire/wire.h>
12
13void init(int *argc, char ***argv)
14{
15 /* Don't call this if we're in unit-test mode, as libfuzz.c does it */
16 if (!tmpctx)
17 common_setup("fuzzer");
18 chainparams = chainparams_for_network("bitcoin");
19}
20
21void run(const uint8_t *data, size_t size)
22{

Callers

nothing calls this directly

Calls 2

common_setupFunction · 0.85
chainparams_for_networkFunction · 0.85

Tested by

no test coverage detected