mining: make threads parameter optional

pull/2/head
Jaquee 7 years ago
parent e826f7c1ec
commit cf364206de
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

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