Remove chatty debug.

This commit is contained in:
JoelKatz
2012-05-31 02:02:50 -07:00
parent 6cb234ef82
commit d7768e23f9

View File

@@ -312,10 +312,10 @@ void Peer::processReadBuffer()
{
int type = PackedMessage::getType(mReadbuf);
#ifdef DEBUG
std::cerr << "PRB(" << type << "), len=" << (mReadbuf.size()-HEADER_SIZE) << std::endl;
// std::cerr << "PRB(" << type << "), len=" << (mReadbuf.size()-HEADER_SIZE) << std::endl;
#endif
std::cerr << "Peer::processReadBuffer: " << mIpPort.first << " " << mIpPort.second << std::endl;
// std::cerr << "Peer::processReadBuffer: " << mIpPort.first << " " << mIpPort.second << std::endl;
// If connected and get a mtHELLO or if not connected and get a non-mtHELLO, wrong message was sent.
if (mConnected == (type == newcoin::mtHELLO))