| 227 | } |
| 228 | |
| 229 | void init(int *argc, char ***argv) |
| 230 | { |
| 231 | /* Don't call this if we're in unit-test mode, as libfuzz.c does it */ |
| 232 | if (!tmpctx) |
| 233 | common_setup("fuzzer"); |
| 234 | chainparams = chainparams_for_network("bitcoin"); |
| 235 | int devnull = open("/dev/null", O_WRONLY); |
| 236 | status_setup_sync(devnull); |
| 237 | fuzz_allow_siphash_seed = true; |
| 238 | } |
| 239 | |
| 240 | struct pending_htlc { |
| 241 | enum side sender; |
nothing calls this directly
no test coverage detected