Remove unused staked chain proto version
This commit is contained in:
@@ -7262,8 +7262,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||
uint64_t nNonce = 1;
|
||||
int nVersion; // use temporary for version, don't set version number until validated as connected
|
||||
int minVersion = MIN_PEER_PROTO_VERSION;
|
||||
if ( is_STAKED(ASSETCHAINS_SYMBOL) != 0 )
|
||||
minVersion = STAKEDMIN_PEER_PROTO_VERSION;
|
||||
vRecv >> nVersion >> pfrom->nServices >> nTime >> addrMe;
|
||||
if (nVersion == 10300)
|
||||
nVersion = 300;
|
||||
|
||||
@@ -35,7 +35,6 @@ static const int GETHEADERS_VERSION = 31800;
|
||||
|
||||
//! disconnect from peers older than this proto version
|
||||
static const int MIN_PEER_PROTO_VERSION = 170007;
|
||||
static const int STAKEDMIN_PEER_PROTO_VERSION = 170007;
|
||||
|
||||
//! nTime field added to CAddress, starting with this version;
|
||||
//! if possible, avoid requesting addresses nodes older than this
|
||||
|
||||
Reference in New Issue
Block a user