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 nStartingHeight; // flood relay std::vector vAddrToSend;