WalletManager: check connection before isMining()

This commit is contained in:
Jaquee 2017-01-30 18:16:07 +01:00
parent 43d5bd3e2d
commit 9dbbd4c9bc

View file

@ -256,6 +256,8 @@ double WalletManager::miningHashRate() const
bool WalletManager::isMining() const
{
if(!m_currentWallet->connected())
return false;
return m_pimpl->isMining();
}