From 13c6e080e657a9d6488d8ff2d8f4919288aef785 Mon Sep 17 00:00:00 2001 From: Vincent Durham Date: Thu, 26 May 2011 03:56:10 -0400 Subject: [PATCH] missed lockin constant --- main.cpp | 2 +- serialize.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 0a23fc175aea0..33fd0ab4fa672 100644 --- a/main.cpp +++ b/main.cpp @@ -1764,7 +1764,7 @@ bool CBlock::AcceptBlock() if (hashBestChain == hash) CRITICAL_BLOCK(cs_vNodes) foreach(CNode* pnode, vNodes) - if (nBestHeight > (pnode->nStartingHeight != -1 ? pnode->nStartingHeight - 2000 : 118000)) + if (nBestHeight > (pnode->nStartingHeight != -1 ? pnode->nStartingHeight - 2000 : hooks->LockinHeight())) pnode->PushInventory(CInv(MSG_BLOCK, hash)); return true; diff --git a/serialize.h b/serialize.h index ee39c0703dba1..9da05d24db5f1 100644 --- a/serialize.h +++ b/serialize.h @@ -25,7 +25,7 @@ class CDataStream; class CAutoFile; static const unsigned int MAX_SIZE = 0x02000000; -static const int VERSION = 32200; +static const int VERSION = 32150; static const char* pszSubVer = ""; static const bool VERSION_IS_BETA = true;