diff options
| author | MarcoFalke <[email protected]> | 2020-06-08 08:54:23 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-06-14 13:58:02 -0400 |
| commit | fa457fbd3387661e1973a8f4e5cc2def79e0c625 (patch) | |
| tree | b067c61799628baa207c4a6fadfe6dec283b6320 /src/validation.cpp | |
| parent | Merge #19261: refactor: Drop ::HasWallets() (diff) | |
| download | discoin-fa457fbd3387661e1973a8f4e5cc2def79e0c625.tar.xz discoin-fa457fbd3387661e1973a8f4e5cc2def79e0c625.zip | |
move-only: Move NDEBUG compile time check to util/check
Diffstat (limited to 'src/validation.cpp')
| -rw-r--r-- | src/validation.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index cbe89443b..9f02db80c 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -39,6 +39,7 @@ #include <ui_interface.h> #include <uint256.h> #include <undo.h> +#include <util/check.h> // For NDEBUG compile time check #include <util/moneystr.h> #include <util/rbf.h> #include <util/strencodings.h> @@ -51,10 +52,6 @@ #include <boost/algorithm/string/replace.hpp> -#if defined(NDEBUG) -# error "Bitcoin cannot be compiled without assertions." -#endif - #define MICRO 0.000001 #define MILLI 0.001 |