diff --git a/src/main.cpp b/src/main.cpp index f214eaa5f..5b62f5747 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7052,7 +7052,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, { const CChainParams& chainparams = Params(); LogPrint("net", "received: %s (%u bytes) peer=%d\n", SanitizeString(strCommand), vRecv.size(), pfrom->id); -fprintf(stderr, "recv: %s peer=%d\n", SanitizeString(strCommand).c_str(), (int32_t)pfrom->GetId()); + if ( KOMODO_NSPV != 0 ) + fprintf(stderr, "recv: %s peer=%d\n", SanitizeString(strCommand).c_str(), (int32_t)pfrom->GetId()); if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0) { LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n"); diff --git a/src/net.h b/src/net.h index dce52aa8b..dc21d1133 100644 --- a/src/net.h +++ b/src/net.h @@ -463,7 +463,7 @@ public: void PushMessage(const char* pszCommand) { - fprintf(stderr,"push.(%s)\n",pszCommand); + //fprintf(stderr,"push.(%s)\n",pszCommand); try { BeginMessage(pszCommand); @@ -479,7 +479,7 @@ public: template void PushMessage(const char* pszCommand, const T1& a1) { - fprintf(stderr,"push.(%s)\n",pszCommand); + //fprintf(stderr,"push.(%s)\n",pszCommand); try { BeginMessage(pszCommand);