mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-14 16:57:57 +00:00
Do not try to download blockchain from 0.3.23 nodes
This commit is contained in:
parent
86fd7c5af6
commit
fb45259967
@ -1823,7 +1823,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
|||||||
|
|
||||||
// Ask the first connected node for block updates
|
// Ask the first connected node for block updates
|
||||||
static int nAskedForBlocks;
|
static int nAskedForBlocks;
|
||||||
if (!pfrom->fClient && (nAskedForBlocks < 1 || vNodes.size() <= 1))
|
if (!pfrom->fClient && pfrom->nVersion != 32300 && (nAskedForBlocks < 1 || vNodes.size() <= 1))
|
||||||
{
|
{
|
||||||
nAskedForBlocks++;
|
nAskedForBlocks++;
|
||||||
pfrom->PushGetBlocks(pindexBest, uint256(0));
|
pfrom->PushGetBlocks(pindexBest, uint256(0));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user