disconnection fix.
This commit is contained in:
parent
ac266fc295
commit
3564052340
@ -455,7 +455,7 @@ ChainDB.prototype.disconnect = function disconnect(block, callback) {
|
|||||||
|
|
||||||
self.emit('remove entry', entry);
|
self.emit('remove entry', entry);
|
||||||
|
|
||||||
self.disconnectBlock(block, batch, function(err) {
|
self.disconnectBlock(entry.hash, batch, function(err) {
|
||||||
if (err)
|
if (err)
|
||||||
return callback(err);
|
return callback(err);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user