undo "fix".

This commit is contained in:
Christopher Jeffrey 2016-02-19 11:24:58 -08:00
parent 5e51b919f2
commit 5a79637039

View File

@ -510,7 +510,7 @@ ChainDB.prototype.resetHeightAsync = function resetHeightAsync(height, callback)
this.getAsync(height, function(err, tip) {
if (err)
return callback(err);
return done(err);
self.tip = tip;
assert(self.tip);