disconnection fix.

This commit is contained in:
Christopher Jeffrey 2016-03-11 23:17:33 -08:00
parent ac266fc295
commit 3564052340

View File

@ -455,7 +455,7 @@ ChainDB.prototype.disconnect = function disconnect(block, callback) {
self.emit('remove entry', entry);
self.disconnectBlock(block, batch, function(err) {
self.disconnectBlock(entry.hash, batch, function(err) {
if (err)
return callback(err);