Make nStartingHeight atomic

This commit is contained in:
Matt Corallo 2017-02-06 12:15:30 -05:00
parent 512731bed0
commit 96f42d8a12
1 changed files with 1 additions and 1 deletions

View File

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