diff --git a/src/ripple/nodestore/impl/Database.cpp b/src/ripple/nodestore/impl/Database.cpp index 37f58a212..3f96d6974 100644 --- a/src/ripple/nodestore/impl/Database.cpp +++ b/src/ripple/nodestore/impl/Database.cpp @@ -386,7 +386,7 @@ Database::threadEntry() } // Perform the read - if (lastPcache && lastPcache) + if (lastPcache && lastNcache) doFetch(lastHash, lastSeq, *lastPcache, *lastNcache, true); } }