aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-08 08:54:23 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-14 13:58:02 -0400
commitfa457fbd3387661e1973a8f4e5cc2def79e0c625 (patch)
treeb067c61799628baa207c4a6fadfe6dec283b6320 /src/validation.cpp
parenteac65d99ddb27061e6ae0f9448887db86e2c0734 (diff)
move-only: Move NDEBUG compile time check to util/check
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp5
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