mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-05 05:46:44 +00:00
followup
This commit is contained in:
parent
9156ea1114
commit
87e2da0e01
1 changed files with 2 additions and 2 deletions
|
@ -270,8 +270,8 @@ public class EntryCell extends TreeTableCell<Entry, Entry> implements Confirmati
|
||||||
}
|
}
|
||||||
Matcher matcher = REPLACED_BY_FEE_SUFFIX.matcher(transactionEntry.getLabel() == null ? "" : transactionEntry.getLabel());
|
Matcher matcher = REPLACED_BY_FEE_SUFFIX.matcher(transactionEntry.getLabel() == null ? "" : transactionEntry.getLabel());
|
||||||
if(matcher.matches()) {
|
if(matcher.matches()) {
|
||||||
if(matcher.groupCount() > 2 && matcher.group(3) != null) {
|
if(matcher.groupCount() > 3 && matcher.group(4) != null) {
|
||||||
int count = Integer.parseInt(matcher.group(3)) + 1;
|
int count = Integer.parseInt(matcher.group(4)) + 1;
|
||||||
label += " (Replaced By Fee #" + count + ")";
|
label += " (Replaced By Fee #" + count + ")";
|
||||||
} else {
|
} else {
|
||||||
label += " (Replaced By Fee #2)";
|
label += " (Replaced By Fee #2)";
|
||||||
|
|
Loading…
Reference in a new issue