disable checktimeout when disabled

This commit is contained in:
Evan Duffield 2015-01-20 03:32:32 -07:00
parent 678a43c35b
commit 47bb25d853

View File

@ -793,6 +793,8 @@ void CDarkSendPool::ChargeRandomFees(){
// Check for various timeouts (queue objects, darksend, etc) // Check for various timeouts (queue objects, darksend, etc)
// //
void CDarkSendPool::CheckTimeout(){ void CDarkSendPool::CheckTimeout(){
if(!fEnableDarksend) return;
// catching hanging sessions // catching hanging sessions
if(!fMasterNode) { if(!fMasterNode) {
if(state == POOL_STATUS_TRANSMISSION) { if(state == POOL_STATUS_TRANSMISSION) {