This commit is contained in:
jl777
2019-07-09 01:26:35 -11:00
parent f89ebce1e7
commit 53728f1bb5

View File

@@ -7245,10 +7245,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
if ( KOMODO_NSPV != 0 )
{
fprintf(stderr,"peer nServices.%llx nSPV peer.%d\n",(long long)pfrom->nServices,pfrom->id);
if ( (pfrom->nServices & NODE_NSPV) == 0 )
{
//fprintf(stderr,"invalid nSPV peer.%d\n",pfrom->id);
// fprintf(stderr,"invalid nServices.%llx nSPV peer.%d\n",(long long)pfrom->nServices,pfrom->id);
pfrom->fDisconnect = true;
return false;
}