chain: fix undefined var in storage.del call.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
parent
db69c882f2
commit
d617edf3ab
@ -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);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user