diff --git a/src/main/java/com/sparrowwallet/sparrow/control/EntryCell.java b/src/main/java/com/sparrowwallet/sparrow/control/EntryCell.java index efa7d0e3..4cc00465 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/EntryCell.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/EntryCell.java @@ -270,8 +270,8 @@ public class EntryCell extends TreeTableCell implements Confirmati } Matcher matcher = REPLACED_BY_FEE_SUFFIX.matcher(transactionEntry.getLabel() == null ? "" : transactionEntry.getLabel()); if(matcher.matches()) { - if(matcher.groupCount() > 2 && matcher.group(3) != null) { - int count = Integer.parseInt(matcher.group(3)) + 1; + if(matcher.groupCount() > 3 && matcher.group(4) != null) { + int count = Integer.parseInt(matcher.group(4)) + 1; label += " (Replaced By Fee #" + count + ")"; } else { label += " (Replaced By Fee #2)";