mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 13:26:44 +00:00
fix loss of transaction labels when switching servers
This commit is contained in:
parent
7423d94935
commit
a825a693c1
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public class WalletForm {
|
|||
|
||||
wallet.clearHistory();
|
||||
AppServices.clearTransactionHistoryCache(wallet);
|
||||
EventManager.get().post(new WalletHistoryClearedEvent(wallet, pastWallet, getWalletId()));
|
||||
EventManager.get().post(new WalletHistoryClearedEvent(wallet, pastWallet == null ? previousWallet : pastWallet, getWalletId()));
|
||||
} else {
|
||||
if(AppServices.isConnected()) {
|
||||
log.error("Error retrieving wallet history", workerStateEvent.getSource().getException());
|
||||
|
|
Loading…
Reference in a new issue