From a584a68634bfef7c308601571144b28f2b38f46b Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 16 Oct 2016 23:23:42 +0400 Subject: [PATCH] Revert few parts of #1073 - too early for node version check (and it's not necessary to do so there anyway) (#1080) --- src/darksend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/darksend.cpp b/src/darksend.cpp index 2033e4893..0b327e3a5 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -1565,7 +1565,7 @@ bool CDarksendPool::DoAutomaticDenominating(bool fDryRun) nLastTimeChanged = GetTimeMillis(); // connect to Masternode and submit the queue request CNode* pnode = ConnectNode((CAddress)addr, NULL, true); - if(pnode != NULL && pnode->nVersion >= MIN_PRIVATESEND_PEER_PROTO_VERSION) { + if(pnode) { pSubmittedToMasternode = pmn; nSessionDenom = dsq.nDenom; @@ -1606,7 +1606,7 @@ bool CDarksendPool::DoAutomaticDenominating(bool fDryRun) nLastTimeChanged = GetTimeMillis(); LogPrintf("CDarksendPool::DoAutomaticDenominating -- attempt %d connection to Masternode %s\n", nTries, pmn->addr.ToString()); CNode* pnode = ConnectNode((CAddress)pmn->addr, NULL, true); - if(pnode != NULL && pnode->nVersion >= MIN_PRIVATESEND_PEER_PROTO_VERSION) { + if(pnode) { LogPrintf("CDarksendPool::DoAutomaticDenominating -- connected %s\n", pmn->vin.ToString()); pSubmittedToMasternode = pmn;