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;
|
this.scriptPubKey = scriptPubKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
public TransactionOutPointWithValue(Transaction tx, int output) {
|
public TransactionOutPointWithValue(Transaction tx, int outputIndex) {
|
||||||
this(new TransactionOutPoint(output, tx.getTxId()),
|
this(new TransactionOutPoint(outputIndex, tx.getTxId()),
|
||||||
tx.getOutput(output).getValue(), tx.getOutput(output).getScriptPubKey());
|
tx.getOutput(outputIndex).getValue(), tx.getOutput(outputIndex).getScriptPubKey());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user