diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-08 08:54:23 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-14 13:58:02 -0400 |
commit | fa457fbd3387661e1973a8f4e5cc2def79e0c625 (patch) | |
tree | b067c61799628baa207c4a6fadfe6dec283b6320 /src/validation.cpp | |
parent | eac65d99ddb27061e6ae0f9448887db86e2c0734 (diff) | |
download | bitcoin-fa457fbd3387661e1973a8f4e5cc2def79e0c625.tar.xz |
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 cbe89443b8..9f02db80c8 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 |