mempool: more minor style changes.

This commit is contained in:
Christopher Jeffrey 2016-12-17 15:43:48 -08:00
parent effc177a77
commit 1f2c3080bc
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1573,15 +1573,15 @@ Mempool.prototype.getCoinView = co(function* getCoinView(tx) {
Mempool.prototype.findMissing = function findMissing(tx, view) {
var missing = [];
var i, input, coin;
var i, input;
for (i = 0; i < tx.inputs.length; i++) {
input = tx.inputs[i];
coin = view.getOutput(input);
if (!coin) {
missing.push(input.prevout.hash);
if (view.hasEntry(input))
continue;
}
missing.push(input.prevout.hash);
}
if (missing.length === 0)