diff --git a/src/main.cpp b/src/main.cpp index bef009c74..ef98d8e17 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,7 +41,6 @@ using namespace std; # error "Bitcoin cannot be compiled without assertions." #endif -#include "komodo.h" /** * Global state @@ -2028,6 +2027,8 @@ static int64_t nTimeIndex = 0; static int64_t nTimeCallbacks = 0; static int64_t nTimeTotal = 0; +#include "komodo.h" + bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& view, bool fJustCheck) { const CChainParams& chainparams = Params();