aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r--src/rpc/util.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 6e23caff6c..abbc4c66fe 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -22,7 +22,13 @@
#include <variant>
#include <vector>
-static constexpr bool DEFAULT_RPC_DOC_CHECK{false};
+static constexpr bool DEFAULT_RPC_DOC_CHECK{
+#ifdef RPC_DOC_CHECK
+ true
+#else
+ false
+#endif
+};
/**
* String used to describe UNIX epoch time in documentation, factored out to a