Merge branch 'master' into mononaut/disk-cache-network-version

This commit is contained in:
softsimon authored and GitHub committed 2023-03-14 21:05:16 +09:00
commit c3a724f675
49 files changed
+11443 -6623

No files matched your search

+1 -1
View File
@@ -641,7 +641,7 @@ class Blocks {
if (this.newBlockCallbacks.length) {
this.newBlockCallbacks.forEach((cb) => cb(blockExtended, txIds, transactions));
}
if (!memPool.hasPriority()) {
if (!memPool.hasPriority() && (block.height % 6 === 0)) {
diskCache.$saveCacheToDisk();
}