remove TheadSendAlert in init.cpp

Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
Pasta 2019-06-19 20:42:07 -05:00
parent ce6623eba8
commit 26ec979fa3

View File

@ -97,8 +97,6 @@
#include "zmq/zmqnotificationinterface.h" #include "zmq/zmqnotificationinterface.h"
#endif #endif
extern void ThreadSendAlert(CConnman& connman);
bool fFeeEstimatesInitialized = false; bool fFeeEstimatesInitialized = false;
static const bool DEFAULT_PROXYRANDOMIZE = true; static const bool DEFAULT_PROXYRANDOMIZE = true;
static const bool DEFAULT_REST_ENABLE = false; static const bool DEFAULT_REST_ENABLE = false;
@ -2162,7 +2160,5 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
pwalletMain->postInitProcess(scheduler); pwalletMain->postInitProcess(scheduler);
#endif #endif
threadGroup.create_thread(boost::bind(&ThreadSendAlert, boost::ref(connman)));
return !fRequestShutdown; return !fRequestShutdown;
} }