try fix
This commit is contained in:
@@ -6579,8 +6579,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
nVersion = 300;
|
nVersion = 300;
|
||||||
if ( is_STAKED(ASSETCHAINS_SYMBOL) != 0 )
|
if ( is_STAKED(ASSETCHAINS_SYMBOL) != 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Is Staked!\n");
|
if (nVersion < STAKEDMIN_PEER_PROTO_VERSION)
|
||||||
if (pfrom->nVersion < STAKEDMIN_PEER_PROTO_VERSION)
|
|
||||||
{
|
{
|
||||||
// disconnect from peers older than this proto version
|
// disconnect from peers older than this proto version
|
||||||
LogPrintf("peer=%d using obsolete version %i; disconnecting\n", pfrom->id, pfrom->nVersion);
|
LogPrintf("peer=%d using obsolete version %i; disconnecting\n", pfrom->id, pfrom->nVersion);
|
||||||
@@ -6592,8 +6591,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Is not staked!\n");
|
if (nVersion < MIN_PEER_PROTO_VERSION)
|
||||||
if (pfrom->nVersion < MIN_PEER_PROTO_VERSION)
|
|
||||||
{
|
{
|
||||||
// disconnect from peers older than this proto version
|
// disconnect from peers older than this proto version
|
||||||
LogPrintf("peer=%d using obsolete version %i; disconnecting\n", pfrom->id, pfrom->nVersion);
|
LogPrintf("peer=%d using obsolete version %i; disconnecting\n", pfrom->id, pfrom->nVersion);
|
||||||
|
|||||||
Reference in New Issue
Block a user