diff --git a/src/p2pool.cpp b/src/p2pool.cpp index 2be38e2..d2dfa5a 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -2028,7 +2028,7 @@ void p2pool::on_external_block(const PoolBlock& block) void p2pool::api_update_aux_data() { - if (!m_api || m_stopped) { + if (!m_api || !m_params->m_localStats || m_stopped) { return; } diff --git a/src/util.h b/src/util.h index 016ce2e..ca5b681 100644 --- a/src/util.h +++ b/src/util.h @@ -35,7 +35,7 @@ namespace p2pool { #define P2POOL_VERSION_MAJOR 4 -#define P2POOL_VERSION_MINOR 7 +#define P2POOL_VERSION_MINOR 8 #define P2POOL_VERSION_PATCH 0 constexpr uint32_t P2POOL_VERSION = (P2POOL_VERSION_MAJOR << 16) | (P2POOL_VERSION_MINOR << 8) | P2POOL_VERSION_PATCH;