FullBlockTestGenerator: rename argument outputIndex

This commit is contained in:
Andreas Schildbach 2023-04-08 16:14:08 +02:00
parent a1237a636b
commit 3e67ef679c

View File

@ -125,9 +125,9 @@ class TransactionOutPointWithValue {
this.scriptPubKey = scriptPubKey;
}
public TransactionOutPointWithValue(Transaction tx, int output) {
this(new TransactionOutPoint(output, tx.getTxId()),
tx.getOutput(output).getValue(), tx.getOutput(output).getScriptPubKey());
public TransactionOutPointWithValue(Transaction tx, int outputIndex) {
this(new TransactionOutPoint(outputIndex, tx.getTxId()),
tx.getOutput(outputIndex).getValue(), tx.getOutput(outputIndex).getScriptPubKey());
}
}