Transaction: remove unused counter from toString()

This commit is contained in:
Andreas Schildbach 2025-03-09 11:09:49 +01:00
parent 1090649211
commit 2e297169b1

View file

@ -769,7 +769,6 @@ public class Transaction extends BaseMessage {
if (isCoinBase()) {
s.append(indent).append("coinbase\n");
} else if (!inputs.isEmpty()) {
int i = 0;
for (TransactionInput in : inputs) {
s.append(indent).append(" ");
s.append("in ");
@ -813,7 +812,6 @@ public class Transaction extends BaseMessage {
} catch (Exception e) {
s.append("[exception: ").append(e.getMessage()).append("]\n");
}
i++;
}
} else {
s.append(indent).append(" ");