Browse Source

Make nStartingHeight atomic

0.14
Matt Corallo 8 years ago
parent
commit
96f42d8a12
  1. 2
      src/net.h

2
src/net.h

@ -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;

Loading…
Cancel
Save