diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-02 12:00:01 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-02 12:00:01 -0400 |
commit | fb45259967032d409bca4d542b55414a7c522fba (patch) | |
tree | fa0817d6996759a93c98137c8bfbcf55a6bdc6c8 | |
parent | 86fd7c5af6cf3f907c50cf25ff844cd23e271c70 (diff) |
Do not try to download blockchain from 0.3.23 nodes
-rw-r--r-- | src/main.cpp | 2 |
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)); |