mirror of
https://github.com/mempool/mempool.git
synced 2025-10-11 10:53:04 +02:00
Re-added missing cache version
This commit is contained in:
@@ -41,6 +41,7 @@ class DiskCache {
|
||||
const chunkSize = Math.floor(mempoolArray.length / DiskCache.CHUNK_FILES);
|
||||
|
||||
await fsPromises.writeFile(DiskCache.FILE_NAME, JSON.stringify({
|
||||
cacheSchemaVersion: this.cacheSchemaVersion,
|
||||
blocks: blocks.getBlocks(),
|
||||
mempool: {},
|
||||
mempoolArray: mempoolArray.splice(0, chunkSize),
|
||||
|
Reference in New Issue
Block a user