Make nStartingHeight atomic

This commit is contained in:
Matt Corallo 2017-02-06 12:15:30 -05:00
parent 512731bed0
commit 96f42d8a12

View File

@ -628,7 +628,7 @@ protected:
public:
uint256 hashContinue;
int nStartingHeight;
std::atomic<int> nStartingHeight;
// flood relay
std::vector<CAddress> vAddrToSend;