Make nStartingHeight atomic

This commit is contained in:
Matt Corallo committed 2017-02-10 11:32:40 -05:00
1 parent 512731bed0
commit 96f42d8a12
1 file changed
+1 -1
+1 -1
View File
@@ -628,7 +628,7 @@ protected:
public: public:
uint256 hashContinue; uint256 hashContinue;
int nStartingHeight; std::atomic<int> nStartingHeight;
// flood relay // flood relay
std::vector<CAddress> vAddrToSend; std::vector<CAddress> vAddrToSend;