| 22 | #include <wire/wire.h> |
| 23 | |
| 24 | void init(int *argc, char ***argv) |
| 25 | { |
| 26 | /* Don't call this if we're in unit-test mode, as libfuzz.c does it */ |
| 27 | if (!tmpctx) |
| 28 | common_setup("fuzzer"); |
| 29 | int devnull = open("/dev/null", O_WRONLY); |
| 30 | status_setup_sync(devnull); |
| 31 | chainparams = chainparams_for_network("bitcoin"); |
| 32 | } |
| 33 | |
| 34 | #define MAX_SATS (u64)WALLY_SATOSHI_PER_BTC * WALLY_BTC_MAX |
| 35 |
nothing calls this directly
no test coverage detected