mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 12:17:25 -04:00
WalletManager: check connection before isMining()
This commit is contained in:
@@ -256,6 +256,8 @@ double WalletManager::miningHashRate() const
|
|||||||
|
|
||||||
bool WalletManager::isMining() const
|
bool WalletManager::isMining() const
|
||||||
{
|
{
|
||||||
|
if(!m_currentWallet->connected())
|
||||||
|
return false;
|
||||||
return m_pimpl->isMining();
|
return m_pimpl->isMining();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user