diff --git a/src/net.h b/src/net.h index 4bbcfac88..566284c70 100644 --- a/src/net.h +++ b/src/net.h @@ -628,7 +628,7 @@ protected: public: uint256 hashContinue; - int nStartingHeight; + std::atomic nStartingHeight; // flood relay std::vector vAddrToSend;