mempool: more minor style changes.
This commit is contained in:
parent
effc177a77
commit
1f2c3080bc
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user