diff --git a/src/Peer.cpp b/src/Peer.cpp index 494a4f0fd2..2ea4f85f69 100644 --- a/src/Peer.cpp +++ b/src/Peer.cpp @@ -761,9 +761,11 @@ void Peer::recvValidation(newcoin::TMValidation& packet) return; } -#ifndef TRUST_NETWORK +// The four #ifndef/#endif's are commented out temporarily to avoid +// an update hassle. They can be removed once all nodes are running this code +//#ifndef TRUST_NETWORK try -#endif +//#endif { Serializer s(packet.validation()); SerializerIterator sit(s); @@ -789,13 +791,13 @@ void Peer::recvValidation(newcoin::TMValidation& packet) theApp->getConnectionPool().relayMessage(this, message); } } -#ifndef TRUST_NETWORK +//#ifndef TRUST_NETWORK catch (...) { Log(lsWARNING) << "Exception processing validation"; punishPeer(PP_UNKNOWN_REQUEST); } -#endif +//#endif } void Peer::recvGetValidation(newcoin::TMGetValidations& packet)