diff --git a/src/libwalletqt/WalletManager.cpp b/src/libwalletqt/WalletManager.cpp index de3378d5..b6a736e1 100644 --- a/src/libwalletqt/WalletManager.cpp +++ b/src/libwalletqt/WalletManager.cpp @@ -264,6 +264,8 @@ bool WalletManager::isMining() const bool WalletManager::startMining(const QString &address, quint32 threads) { + if(threads == 0) + threads = 1; return m_pimpl->startMining(address.toStdString(), threads); }