Merge pull request #1800 from mempool/nymkappa/bugfix/missing-cache-version
Re-added missing cache version
This commit is contained in:
commit
1efac916b7
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user