diff options
| author | Matt Corallo <[email protected]> | 2017-02-06 12:15:30 -0500 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2017-02-10 11:32:40 -0500 |
| commit | 96f42d8a12871b8d5c4e31fd27d8135f97c6b3e0 (patch) | |
| tree | 5935b61ce9d80ea69f50a206f9dae5cf982d2153 | |
| parent | Access fRelayTxes with cs_filter lock in copyStats (diff) | |
| download | discoin-96f42d8a12871b8d5c4e31fd27d8135f97c6b3e0.tar.xz discoin-96f42d8a12871b8d5c4e31fd27d8135f97c6b3e0.zip | |
Make nStartingHeight atomic
| -rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -628,7 +628,7 @@ protected: public: uint256 hashContinue; - int nStartingHeight; + std::atomic<int> nStartingHeight; // flood relay std::vector<CAddress> vAddrToSend; |