Browse Source

dont refresh invalid wallets

bwt
Craig Raw 4 years ago
parent
commit
32bc9f6a99
  1. 2
      src/main/java/com/sparrowwallet/sparrow/wallet/WalletForm.java

2
src/main/java/com/sparrowwallet/sparrow/wallet/WalletForm.java

@ -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) {

Loading…
Cancel
Save