Skip to content

Commit

Permalink
Fix bigmap keys cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Groxan committed Apr 16, 2022
1 parent 7d2024b commit 8ad6af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tzkt.Sync/Services/Cache/BigMapKeysCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public async Task Prefetch(IEnumerable<(int ptr, string hash)> keys)
.ToListAsync();

foreach (var item in loaded)
Cached.Add((item.BigMapPtr, item.KeyHash), item);
Cached.TryAdd((item.BigMapPtr, item.KeyHash), item);
}
}
}
Expand Down

0 comments on commit 8ad6af7

Please sign in to comment.