1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-12 16:26:23 +01:00

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();
}