From 94b2e3022557dc9f37ada2f243ffd553e36ea323 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 4 Oct 2012 23:47:50 -0700 Subject: [PATCH] Temporarily disable hard fail on some checks. --- src/Peer.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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)