mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-12 18:49:42 +01:00
19 lines
376 B
C
19 lines
376 B
C
|
#include "config.h"
|
||
|
#include <common/bolt12.h>
|
||
|
#include <common/utils.h>
|
||
|
#include <stddef.h>
|
||
|
#include <tests/fuzz/bolt12.h>
|
||
|
#include <tests/fuzz/libfuzz.h>
|
||
|
|
||
|
const char *bech32_hrp = "lnr";
|
||
|
|
||
|
void run(const u8 *data, size_t size)
|
||
|
{
|
||
|
char *fail;
|
||
|
|
||
|
invrequest_decode(tmpctx, (const char *)data, size,
|
||
|
/*feature_set=*/NULL, /*must_be_chain=*/NULL, &fail);
|
||
|
|
||
|
clean_tmpctx();
|
||
|
}
|