From 22408103eace62dab79051f05624f744e3be9149 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 10 Oct 2022 09:55:38 +0200 Subject: [PATCH] show additional inputs in tx diagram as labels or abbreviated txid:index --- .../com/sparrowwallet/sparrow/control/TransactionDiagram.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java b/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java index bb1f88d1..93cf0f2f 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java @@ -462,7 +462,7 @@ public class TransactionDiagram extends GridPane { StringJoiner joiner = new StringJoiner("\n"); joiner.add("Spending " + getSatsValue(inputValue) + " sats from" + (isExpanded() ? ":" : " (click to expand):")); for(BlockTransactionHashIndex additionalInput : additionalReference.getAdditionalInputs()) { - joiner.add(additionalInput.getHashAsString() + ":" + additionalInput.getIndex()); + joiner.add(getInputDescription(additionalInput)); } tooltip.setText(joiner.toString()); } else if(input instanceof InvisibleBlockTransactionHashIndex) {