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