Delint
This commit is contained in:
parent
6610a247cf
commit
85abca4b16
@ -473,7 +473,7 @@ func (cs *ChainStore) FlushValidationCache() error {
|
|||||||
for _, k := range allKeys {
|
for _, k := range allKeys {
|
||||||
if strings.HasPrefix(k.Key, blockValidationCacheKeyPrefix.String()) {
|
if strings.HasPrefix(k.Key, blockValidationCacheKeyPrefix.String()) {
|
||||||
delCnt++
|
delCnt++
|
||||||
batch.Delete(datastore.RawKey(k.Key))
|
batch.Delete(datastore.RawKey(k.Key)) // nolint:errcheck
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user