mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Temporarily disable hard fail on some checks.
This commit is contained in:
10
src/Peer.cpp
10
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)
|
||||
|
||||
Reference in New Issue
Block a user