mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 08:14:43 +00:00
dont refresh invalid wallets
This commit is contained in:
@@ -225,9 +225,11 @@ public class WalletForm {
|
||||
|
||||
@Subscribe
|
||||
public void walletNodeHistoryChanged(WalletNodeHistoryChangedEvent event) {
|
||||
WalletNode walletNode = event.getWalletNode(wallet);
|
||||
if(walletNode != null) {
|
||||
refreshHistory(AppController.getCurrentBlockHeight(), walletNode);
|
||||
if(wallet.isValid()) {
|
||||
WalletNode walletNode = event.getWalletNode(wallet);
|
||||
if(walletNode != null) {
|
||||
refreshHistory(AppController.getCurrentBlockHeight(), walletNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user