mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Correct a typo that could result in a nullptr dereference
This commit is contained in:
@@ -386,7 +386,7 @@ Database::threadEntry()
|
||||
}
|
||||
|
||||
// Perform the read
|
||||
if (lastPcache && lastPcache)
|
||||
if (lastPcache && lastNcache)
|
||||
doFetch(lastHash, lastSeq, *lastPcache, *lastNcache, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user