Merge pull request #144 from UdjinM6/fix_doauto_on_initial_download

prevent running DoAutomaticDenominating while IsInitialBlockDownload
This commit is contained in:
evan82 2015-01-30 12:57:54 -07:00
commit 9f33c1e5f9

View File

@ -1405,6 +1405,8 @@ bool CDarkSendPool::DoAutomaticDenominating(bool fDryRun, bool ready)
{
LOCK(cs_darksend);
if(IsInitialBlockDownload()) return false;
if(fMasterNode) return false;
if(state == POOL_STATUS_ERROR || state == POOL_STATUS_SUCCESS) return false;