From 3e67ef679c722c2749c8f325ef6ff67e86cb2bc7 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Sat, 8 Apr 2023 16:14:08 +0200 Subject: [PATCH] FullBlockTestGenerator: rename argument `outputIndex` --- .../test/java/org/bitcoinj/core/FullBlockTestGenerator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/test/java/org/bitcoinj/core/FullBlockTestGenerator.java b/core/src/test/java/org/bitcoinj/core/FullBlockTestGenerator.java index 47084e133..f6b384848 100644 --- a/core/src/test/java/org/bitcoinj/core/FullBlockTestGenerator.java +++ b/core/src/test/java/org/bitcoinj/core/FullBlockTestGenerator.java @@ -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()); } }