From 47bb25d853180bc4bf86645ca7492953a2c2b5b3 Mon Sep 17 00:00:00 2001 From: Evan Duffield Date: Tue, 20 Jan 2015 03:32:32 -0700 Subject: [PATCH] disable checktimeout when disabled --- src/darksend.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/darksend.cpp b/src/darksend.cpp index 0ecfb726d8..5e89a41301 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -793,6 +793,8 @@ void CDarkSendPool::ChargeRandomFees(){ // Check for various timeouts (queue objects, darksend, etc) // void CDarkSendPool::CheckTimeout(){ + if(!fEnableDarksend) return; + // catching hanging sessions if(!fMasterNode) { if(state == POOL_STATUS_TRANSMISSION) {