diff --git a/lightningd/test/run-cryptomsg.c b/common/test/run-cryptomsg.c similarity index 98% rename from lightningd/test/run-cryptomsg.c rename to common/test/run-cryptomsg.c index 9f355e27b..f3d00f095 100644 --- a/lightningd/test/run-cryptomsg.c +++ b/common/test/run-cryptomsg.c @@ -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;