forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/bitcoin-tx-22.0: Fix build without LevelDB
Closes: https://bugs.gentoo.org/829412 Signed-off-by: Luke Dashjr <[email protected]> Closes: gentoo#23410 Signed-off-by: Florian Schmaus <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
dev-util/bitcoin-tx/files/22.0-fix_build_without_leveldb.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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.")); | ||
} |