mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +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());
|
||||
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)";
|
||||
|
|
Loading…
Reference in a new issue