diff --git a/src/net.h b/src/net.h index e2d88b478d..7a32e21f4a 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;