Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #77 from ethereumjs/greenkeeper/lru-cache-5.0.0
Browse files Browse the repository at this point in the history
Update lru-cache to v5.1.1
  • Loading branch information
s1na committed Feb 5, 2019
2 parents 3c458de + f6cdefa commit 25162c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ Blockchain.prototype._getTd = function (hash, number, cb) {

// Simple LRU Cache that allows for keys of type Buffer
function Cache (opts) {
this._cache = LRU(opts)
this._cache = new LRU(opts)
}

Cache.prototype.set = function (key, value) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"ethereumjs-util": "~6.0.0",
"flow-stoplight": "^1.0.0",
"level-mem": "^3.0.1",
"lru-cache": "^4.1.3",
"lru-cache": "^5.1.1",
"safe-buffer": "^5.1.2",
"semaphore": "^1.1.0"
},
Expand Down

0 comments on commit 25162c7

Please sign in to comment.