chaindb: drop useless.

This commit is contained in:
Christopher Jeffrey 2016-11-30 21:34:21 -08:00
parent ded3bc34f3
commit 430a69e3d3
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1747,7 +1747,7 @@ ChainDB.prototype.connectBlock = co(function* connectBlock(block, view) {
*/
ChainDB.prototype.disconnectBlock = co(function* disconnectBlock(block) {
var i, j, view, tx, hash, input, output;
var i, j, view, tx, input, output;
if (this.options.spv)
return;
@ -1758,7 +1758,6 @@ ChainDB.prototype.disconnectBlock = co(function* disconnectBlock(block) {
for (i = block.txs.length - 1; i >= 0; i--) {
tx = block.txs[i];
hash = tx.hash('hex');
if (i > 0) {
for (j = 0; j < tx.inputs.length; j++) {