mirror of
https://github.com/XRPLF/rippled.git
synced 2026-10-02 09:48:04 +00:00
Small cleanups.
This commit is contained in:
@@ -166,15 +166,9 @@ void HashedObjectStore::bulkWrite()
|
||||
HashedObject::pointer HashedObjectStore::retrieve(const uint256& hash)
|
||||
{
|
||||
|
||||
HashedObject::pointer obj;
|
||||
{
|
||||
obj = mCache.fetch(hash);
|
||||
if (obj)
|
||||
{
|
||||
// cLog(lsTRACE) << "HOS: " << hash << " fetch: incache";
|
||||
return obj;
|
||||
}
|
||||
}
|
||||
HashedObject::pointer obj = mCache.fetch(hash);
|
||||
if (obj)
|
||||
return obj;
|
||||
|
||||
if (mNegativeCache.isPresent(hash))
|
||||
return obj;
|
||||
|
||||
Reference in New Issue
Block a user