summaryrefslogtreecommitdiff
path: root/dev-util/bitcoin-tx/files/22.0-fix_build_without_leveldb.patch
blob: e9dec14b9d438646a1b347c26205eaced7db640a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/src/init/common.cpp b/src/init/common.cpp
index b5b74cda78b..d01e0e73b4a 100644
--- a/src/init/common.cpp
+++ b/src/init/common.cpp
@@ -9,7 +9,6 @@
 #include <clientversion.h>
 #include <compat/sanity.h>
 #include <crypto/sha256.h>
-#include <dbwrapper.h>
 #include <key.h>
 #include <logging.h>
 #include <node/ui_interface.h>
@@ -41,10 +40,6 @@ void UnsetGlobals()
 
 bool SanityChecks()
 {
-    if (!dbwrapper_SanityCheck()) {
-        return InitError(Untranslated("Database sanity check failure. Aborting."));
-    }
-
     if (!ECC_InitSanityCheck()) {
         return InitError(Untranslated("Elliptic curve cryptography sanity check failure. Aborting."));
     }