mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
prevent running DoAutomaticDenominating while IsInitialBlockDownload
This commit is contained in:
parent
7fafe5d3e1
commit
1ecbfd09d7
@ -1416,6 +1416,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