diff --git a/src/net.h b/src/net.h index e2d88b478..7a32e21f4 100644 --- a/src/net.h +++ b/src/net.h @@ -403,7 +403,7 @@ private: unsigned int nReceiveFloodSize; std::vector vhListenSocket; - bool fNetworkActive; + std::atomic fNetworkActive; banmap_t setBanned; CCriticalSection cs_setBanned; bool setBannedIsDirty;