diff --git a/src/cpp/ripple/HashedObject.cpp b/src/cpp/ripple/HashedObject.cpp index 204f4eb00..87481802b 100644 --- a/src/cpp/ripple/HashedObject.cpp +++ b/src/cpp/ripple/HashedObject.cpp @@ -230,7 +230,9 @@ HashedObject::pointer HashedObjectStore::retrieve(const uint256& hash) } #endif +#ifdef PARANOID assert(Serializer::getSHA512Half(data) == hash); +#endif HashedObjectType htype = hotUNKNOWN; switch (type[0])