Apply suggestions from code review

Co-authored-by: wiz <j@wiz.biz>
This commit is contained in:
softsimon
2021-02-14 20:03:45 +07:00
committed by GitHub
parent 584ef87fc8
commit 32290d1e0d
3 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ import config from '../config';
import { TransactionExtended } from '../mempool.interfaces';
class DiskCache {
private static FILE_NAME = config.MEMPOOL.CACHE_DIR + 'cache.json';
private static FILE_NAMES = config.MEMPOOL.CACHE_DIR + 'cache{number}.json';
private static FILE_NAME = config.MEMPOOL.CACHE_DIR + '/cache.json';
private static FILE_NAMES = config.MEMPOOL.CACHE_DIR + '/cache{number}.json';
private static CHUNK_FILES = 25;
constructor() { }