diff --git a/libdevcore/Common.cpp b/libdevcore/Common.cpp index b6e8e7f93..78b3d9c30 100644 --- a/libdevcore/Common.cpp +++ b/libdevcore/Common.cpp @@ -27,7 +27,7 @@ using namespace dev; namespace dev { -char const* Version = "0.9.7"; +char const* Version = "0.9.8"; } diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index ea8efd310..4f9af91a9 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -332,7 +332,8 @@ void Client::appendFromNewBlock(h256 const& _block, h256Set& io_changed) void Client::setForceMining(bool _enable) { m_forceMining = _enable; - startMining(); + if (isMining()) + startMining(); } MiningProgress Client::miningProgress() const