From d5477ab3ab2848b95177ed6ec6cf340503777d61 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Thu, 7 Jan 2021 15:57:34 -0500 Subject: [PATCH] Disable build_date for now, which causes race condition bugs in the build system --- src/rpc/misc.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 1fa60822c..0a052876b 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -37,7 +37,9 @@ #include #include #include "zcash/Address.hpp" -#include "build.h" +//#ifdef HAVE_BUILD_INFO +//#include "build.h" +//#endif using namespace std; @@ -275,7 +277,7 @@ UniValue getinfo(const UniValue& params, bool fHelp, const CPubKey& mypk) #endif obj.push_back(Pair("sapling", ASSETCHAINS_SAPLING)); } - obj.push_back(Pair("build_date", BUILD_DATE)); + //obj.push_back(Pair("build_date", BUILD_DATE)); obj.push_back(Pair("timeoffset", 0)); obj.push_back(Pair("connections", (int)vNodes.size())); obj.push_back(Pair("tls_connections", (int)std::count_if(vNodes.begin(), vNodes.end(), [](CNode* n) {return n->ssl != NULL;})));