From 5a79637039c787598a74c1053510d54a48dd08fe Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 19 Feb 2016 11:24:58 -0800 Subject: [PATCH] undo "fix". --- lib/bcoin/chaindb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/chaindb.js b/lib/bcoin/chaindb.js index a4d7ec7a..e48c14d0 100644 --- a/lib/bcoin/chaindb.js +++ b/lib/bcoin/chaindb.js @@ -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);