Correct a typo that could result in a nullptr dereference

This commit is contained in:
Nik Bougalis
2020-04-07 23:17:01 -07:00
parent 284ed38471
commit b7631d2a28

View File

@@ -386,7 +386,7 @@ Database::threadEntry()
}
// Perform the read
if (lastPcache && lastPcache)
if (lastPcache && lastNcache)
doFetch(lastHash, lastSeq, *lastPcache, *lastNcache, true);
}
}