From 7cac33938349be40f9bbcda4e77e0f3f50e6110f Mon Sep 17 00:00:00 2001 From: erikzhang Date: Wed, 27 May 2020 22:27:45 +0800 Subject: [PATCH] Fix --- src/neo/IO/Caching/DataCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neo/IO/Caching/DataCache.cs b/src/neo/IO/Caching/DataCache.cs index 1d48d62627..4b39b5b7cc 100644 --- a/src/neo/IO/Caching/DataCache.cs +++ b/src/neo/IO/Caching/DataCache.cs @@ -165,7 +165,7 @@ public void Delete(TKey key) )) .OrderBy(p => p.KeyBytes, ByteArrayComparer.Default) .ToArray(); - cachedKeySet = new HashSet(cached.Select(p => p.Item2)); + cachedKeySet = new HashSet(dictionary.Keys); } var uncached = FindInternal(key_prefix ?? Array.Empty()) .Where(p => !cachedKeySet.Contains(p.Key))