aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-02-06 12:15:30 -0500
committerMatt Corallo <git@bluematt.me>2017-02-10 11:32:40 -0500
commit96f42d8a12871b8d5c4e31fd27d8135f97c6b3e0 (patch)
tree5935b61ce9d80ea69f50a206f9dae5cf982d2153 /src/net.h
parent512731bed0782f10092de35a960153b17ecc11eb (diff)
Make nStartingHeight atomic
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 4bbcfac88b..566284c70b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -628,7 +628,7 @@ protected:
public:
uint256 hashContinue;
- int nStartingHeight;
+ std::atomic<int> nStartingHeight;
// flood relay
std::vector<CAddress> vAddrToSend;