chain: fix undefined var in storage.del call.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
Christopher Jeffrey 2014-05-18 18:58:20 -05:00 committed by Fedor Indutny
parent db69c882f2
commit d617edf3ab

View File

@ -181,7 +181,7 @@ Chain.prototype._killFork = function _killFork(probe) {
return true;
var self = this;
this.storage.del(this.prefix + hash, obj, function(err) {
this.storage.del(this.prefix + hash, function(err) {
if (err)
self.emit('error', err);
});