test/run-cryptomsg.c: move out of lightningd/ into common/

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-09-28 06:32:19 +09:30
parent dfaaa09bc6
commit d1552bd1eb

View File

@ -69,7 +69,9 @@ enum dev_disconnect dev_disconnect(int pkt_type UNUSED)
/* We test what look like unknown messages. */
#define is_unknown_msg_discardable(x) 0
#include "../../common/cryptomsg.c"
#define fromwire_peektype(msg) 0
#include "../cryptomsg.c"
const void *trc;