Update main.cpp

This commit is contained in:
xnljfr 2014-02-22 21:05:37 +02:00
parent 59f993273d
commit 5e2d98a11a

View file

@ -2494,7 +2494,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
CAddress addrFrom;
uint64 nNonce = 1;
vRecv >> pfrom->nVersion >> pfrom->nServices >> nTime >> addrMe;
if (pfrom->nVersion < MIN_PROTO_VERSION)
if (pfrom->nVersion < MIN_PEER_PROTO_VERSION)
{
// Since February 20, 2012, the protocol is initiated at version 209,
// and earlier versions are no longer supported