dont refresh invalid wallets

This commit is contained in:
Craig Raw 2020-09-25 17:56:57 +02:00
parent dc8a8dd857
commit 32bc9f6a99

View file

@ -225,11 +225,13 @@ public class WalletForm {
@Subscribe
public void walletNodeHistoryChanged(WalletNodeHistoryChangedEvent event) {
if(wallet.isValid()) {
WalletNode walletNode = event.getWalletNode(wallet);
if(walletNode != null) {
refreshHistory(AppController.getCurrentBlockHeight(), walletNode);
}
}
}
@Subscribe
public void walletTabsClosed(WalletTabsClosedEvent event) {