aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-02 12:00:01 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-09-02 12:00:01 -0400
commitfb45259967032d409bca4d542b55414a7c522fba (patch)
treefa0817d6996759a93c98137c8bfbcf55a6bdc6c8 /src
parent86fd7c5af6cf3f907c50cf25ff844cd23e271c70 (diff)
Do not try to download blockchain from 0.3.23 nodes
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f68683e24b..7230906e25 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1823,7 +1823,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
// Ask the first connected node for block updates
static int nAskedForBlocks;
- if (!pfrom->fClient && (nAskedForBlocks < 1 || vNodes.size() <= 1))
+ if (!pfrom->fClient && pfrom->nVersion != 32300 && (nAskedForBlocks < 1 || vNodes.size() <= 1))
{
nAskedForBlocks++;
pfrom->PushGetBlocks(pindexBest, uint256(0));