Wipe the disk cache since we have a new block structure

This commit is contained in:
nymkappa committed 2023-02-27 19:06:46 +09:00
1 parent 91de5f4a9b
commit 393a89918f
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ import { TransactionExtended } from '../mempool.interfaces';
import { Common } from './common';
class DiskCache {
private cacheSchemaVersion = 2;
private cacheSchemaVersion = 3;
private static FILE_NAME = config.MEMPOOL.CACHE_DIR + '/cache.json';
private static FILE_NAMES = config.MEMPOOL.CACHE_DIR + '/cache{number}.json';