Merge pull request #144 from UdjinM6/fix_doauto_on_initial_download
prevent running DoAutomaticDenominating while IsInitialBlockDownload
This commit is contained in:
commit
9f33c1e5f9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user