mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
FullBlockTestGenerator: rename argument outputIndex
This commit is contained in:
parent
a1237a636b
commit
3e67ef679c
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user