From 1ecbfd09d780276c282bb0982f8bc5e43a35be2e Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 30 Jan 2015 01:19:41 +0300 Subject: [PATCH] prevent running DoAutomaticDenominating while IsInitialBlockDownload --- src/darksend.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/darksend.cpp b/src/darksend.cpp index 089f7f3104..a28aa55bb1 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -1416,6 +1416,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;