fix pruning.
This commit is contained in:
parent
9b90111a0a
commit
fb6787e5ed
@ -1470,7 +1470,7 @@ ChainDB.prototype._pruneQueue = function _pruneQueue(block, batch, callback) {
|
|||||||
utils.debug('Retroactively pruning txs at height %d.', block.height);
|
utils.debug('Retroactively pruning txs at height %d.', block.height);
|
||||||
|
|
||||||
utils.forEachSerial(hashes, function(hash, next) {
|
utils.forEachSerial(hashes, function(hash, next) {
|
||||||
batch.del('t/q/' + block.height + '/' + hash);
|
batch.del('t/q/' + pad32(block.height) + '/' + hash);
|
||||||
self._removeTX(hash, batch, next);
|
self._removeTX(hash, batch, next);
|
||||||
}, callback);
|
}, callback);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user