diff --git a/lib/node/fullnode.js b/lib/node/fullnode.js index d80ff4ba..17e9fdab 100644 --- a/lib/node/fullnode.js +++ b/lib/node/fullnode.js @@ -61,7 +61,7 @@ function FullNode(options) { prune: this.config.bool('prune'), checkpoints: this.config.bool('checkpoints'), coinCache: this.config.mb('coin-cache'), - entryCache: this.config.mb('entry-cache'), + entryCache: this.config.num('entry-cache'), indexTX: this.config.bool('index-tx'), indexAddress: this.config.bool('index-address') }); diff --git a/lib/node/spvnode.js b/lib/node/spvnode.js index f82ebf46..f2d889ed 100644 --- a/lib/node/spvnode.js +++ b/lib/node/spvnode.js @@ -52,6 +52,7 @@ function SPVNode(options) { prefix: this.config.prefix, maxFiles: this.config.num('max-files'), cacheSize: this.config.mb('cache-size'), + entryCache: this.config.num('entry-cache'), forceWitness: this.config.bool('force-witness'), checkpoints: this.config.bool('checkpoints'), spv: true