Skip to content

Commit b33f86b

Browse files
committed
fuzz/fuzz-handle_onion_message.c: fix header order.
We check this now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 7bbaecd commit b33f86b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/fuzz/fuzz-full_channel.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* from that test.
44
*/
55
#include "config.h"
6-
#include <fcntl.h>
7-
#include <common/blockheight_states.h>
86
#include <ccan/ccan/array_size/array_size.h>
7+
#include <channeld/full_channel.h>
8+
#include <common/blockheight_states.h>
99
#include <common/channel_type.h>
1010
#include <common/fee_states.h>
1111
#include <common/htlc_wire.h>
1212
#include <common/setup.h>
1313
#include <common/status.h>
14-
#include <channeld/full_channel.h>
14+
#include <fcntl.h>
1515
#include <tests/fuzz/libfuzz.h>
1616

1717
/* MOCKS START */

tests/fuzz/fuzz-handle_onion_message.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#include "config.h"
2-
#include <fcntl.h>
3-
#include <setjmp.h>
4-
#include <secp256k1_ecdh.h>
52
#include <common/daemon_conn.h>
63
#include <common/ecdh.h>
74
#include <common/setup.h>
85
#include <common/status.h>
96
#include <common/wire_error.h>
10-
#include <connectd/connectd_wiregen.h>
117
#include <connectd/connectd.h>
8+
#include <connectd/connectd_wiregen.h>
129
#include <connectd/multiplex.h>
1310
#include <connectd/onion_message.h>
14-
#include <wire/peer_wiregen.h>
11+
#include <fcntl.h>
12+
#include <secp256k1_ecdh.h>
13+
#include <setjmp.h>
1514
#include <tests/fuzz/libfuzz.h>
15+
#include <wire/peer_wiregen.h>
1616

1717
static int lightningd_fd;
1818
static struct privkey priv;

0 commit comments

Comments
 (0)