mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
show additional inputs in tx diagram as labels or abbreviated txid:index
This commit is contained in:
parent
383d3954d8
commit
22408103ea
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ public class TransactionDiagram extends GridPane {
|
||||||
StringJoiner joiner = new StringJoiner("\n");
|
StringJoiner joiner = new StringJoiner("\n");
|
||||||
joiner.add("Spending " + getSatsValue(inputValue) + " sats from" + (isExpanded() ? ":" : " (click to expand):"));
|
joiner.add("Spending " + getSatsValue(inputValue) + " sats from" + (isExpanded() ? ":" : " (click to expand):"));
|
||||||
for(BlockTransactionHashIndex additionalInput : additionalReference.getAdditionalInputs()) {
|
for(BlockTransactionHashIndex additionalInput : additionalReference.getAdditionalInputs()) {
|
||||||
joiner.add(additionalInput.getHashAsString() + ":" + additionalInput.getIndex());
|
joiner.add(getInputDescription(additionalInput));
|
||||||
}
|
}
|
||||||
tooltip.setText(joiner.toString());
|
tooltip.setText(joiner.toString());
|
||||||
} else if(input instanceof InvisibleBlockTransactionHashIndex) {
|
} else if(input instanceof InvisibleBlockTransactionHashIndex) {
|
||||||
|
|
Loading…
Reference in a new issue