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

Function run

tests/fuzz/fuzz-bolt12-invoice-decode.c:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8const char *bech32_hrp = "lni";
9
10void run(const u8 *data, size_t size)
11{
12 const char *fail;
13
14 invoice_decode(tmpctx, (const char *)data, size, /*feature_set=*/NULL,
15 /*must_be_chain=*/NULL, &fail);
16
17 clean_tmpctx();
18}

Callers

nothing calls this directly

Calls 2

invoice_decodeFunction · 0.85
clean_tmpctxFunction · 0.85

Tested by

no test coverage detected