diff --git a/src/llmq/quorums_instantsend.cpp b/src/llmq/quorums_instantsend.cpp index 737c22b29a10b..db84906752688 100644 --- a/src/llmq/quorums_instantsend.cpp +++ b/src/llmq/quorums_instantsend.cpp @@ -15,7 +15,10 @@ #include "scheduler.h" #include "spork.h" #include "validation.h" + +#ifdef ENABLE_WALLET #include "wallet/wallet.h" +#endif // needed for nCompleteTXLocks #include "instantx.h"