mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
Only do an expensive test that's no longer needed if PARANOID.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user