mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
followup
This commit is contained in:
parent
b1bc25ba04
commit
d5fdd6881c
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ public class WalletForm {
|
||||||
if((receivedRef.getLabel() == null || receivedRef.getLabel().isEmpty()
|
if((receivedRef.getLabel() == null || receivedRef.getLabel().isEmpty()
|
||||||
|| receivedRef.getLabel().endsWith(" (sent)") || receivedRef.getLabel().endsWith(" (change)") || receivedRef.getLabel().endsWith(" (received)"))
|
|| receivedRef.getLabel().endsWith(" (sent)") || receivedRef.getLabel().endsWith(" (change)") || receivedRef.getLabel().endsWith(" (received)"))
|
||||||
&& wallet.getStandardAccountType() != StandardAccount.WHIRLPOOL_PREMIX) {
|
&& wallet.getStandardAccountType() != StandardAccount.WHIRLPOOL_PREMIX) {
|
||||||
prevRefLabel = receivedRef.getLabel();
|
prevRefLabel = receivedRef.getLabel() == null ? "" : receivedRef.getLabel();
|
||||||
receivedRef.setLabel(entry.getLabel() + (keyPurpose == KeyPurpose.CHANGE ? (event.getWallet().isBip47() ? " (sent)" : " (change)") : " (received)"));
|
receivedRef.setLabel(entry.getLabel() + (keyPurpose == KeyPurpose.CHANGE ? (event.getWallet().isBip47() ? " (sent)" : " (change)") : " (received)"));
|
||||||
labelChangedEntries.put(new HashIndexEntry(event.getWallet(), receivedRef, HashIndexEntry.Type.OUTPUT, keyPurpose), entry);
|
labelChangedEntries.put(new HashIndexEntry(event.getWallet(), receivedRef, HashIndexEntry.Type.OUTPUT, keyPurpose), entry);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue