Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed Nov 15, 2023
1 parent 1c510af commit 3c4519f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libplanet.Store/HashNodeCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Libplanet.Store
public class HashNodeCache
{
// FIXME: Tuned to 9c mainnet. Should be refactored to accept cache size as an argument.
private const int _cahceSize = 1_048_576;
private const int _cacheSize = 1_048_576;
private const int _reportPeriod = 60_000;

private LruCache<HashDigest<SHA256>, IValue> _cache;
Expand All @@ -26,7 +26,7 @@ public class HashNodeCache

internal HashNodeCache()
{
_cache = new LruCache<HashDigest<SHA256>, IValue>(_cahceSize);
_cache = new LruCache<HashDigest<SHA256>, IValue>(_cacheSize);
_stopwatch = new Stopwatch();
_attempts = 0;
_hits = 0;
Expand Down

0 comments on commit 3c4519f

Please sign in to comment.