mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
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);
|
LOCK(cs_darksend);
|
||||||
|
|
||||||
|
if(IsInitialBlockDownload()) return false;
|
||||||
|
|
||||||
if(fMasterNode) return false;
|
if(fMasterNode) return false;
|
||||||
if(state == POOL_STATUS_ERROR || state == POOL_STATUS_SUCCESS) return false;
|
if(state == POOL_STATUS_ERROR || state == POOL_STATUS_SUCCESS) return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user