From 3c4519f6d162c0f2926f6f14abf229f8de2d8e51 Mon Sep 17 00:00:00 2001 From: Say Cheong Date: Wed, 15 Nov 2023 16:27:27 +0900 Subject: [PATCH] Typo --- Libplanet.Store/HashNodeCache.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libplanet.Store/HashNodeCache.cs b/Libplanet.Store/HashNodeCache.cs index dfe962fefea..02db81f3ee1 100644 --- a/Libplanet.Store/HashNodeCache.cs +++ b/Libplanet.Store/HashNodeCache.cs @@ -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, IValue> _cache; @@ -26,7 +26,7 @@ public class HashNodeCache internal HashNodeCache() { - _cache = new LruCache, IValue>(_cahceSize); + _cache = new LruCache, IValue>(_cacheSize); _stopwatch = new Stopwatch(); _attempts = 0; _hits = 0;