Skip to content

Commit

Permalink
Update cache.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wanderer committed Jul 28, 2017
1 parent 8a554b5 commit 09e1365
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/cache.js
Expand Up @@ -127,9 +127,6 @@ Cache.prototype.clear = function () {
}

Cache.prototype.del = function (key) {
if (key.toString('hex') === '') {
return
}
this._deletes.push(key)
key = key.toString('hex')
this._cache = this._cache.remove(key)
Expand Down

0 comments on commit 09e1365

Please sign in to comment.