This commit is contained in:
Peter Rabbitson 2020-10-10 04:00:12 +02:00
parent 6610a247cf
commit 85abca4b16

View File

@ -473,7 +473,7 @@ func (cs *ChainStore) FlushValidationCache() error {
for _, k := range allKeys {
if strings.HasPrefix(k.Key, blockValidationCacheKeyPrefix.String()) {
delCnt++
batch.Delete(datastore.RawKey(k.Key))
batch.Delete(datastore.RawKey(k.Key)) // nolint:errcheck
}
}