|
|
@ -4,8 +4,8 @@ import com.sparrowwallet.drongo.BitcoinUnit; |
|
|
|
import com.sparrowwallet.drongo.wallet.Wallet; |
|
|
|
import com.sparrowwallet.sparrow.AppServices; |
|
|
|
import com.sparrowwallet.sparrow.EventManager; |
|
|
|
import com.sparrowwallet.sparrow.event.WalletAddressesChangedEvent; |
|
|
|
import com.sparrowwallet.sparrow.event.WalletDataChangedEvent; |
|
|
|
import com.sparrowwallet.sparrow.event.WalletHistoryClearedEvent; |
|
|
|
import com.sparrowwallet.sparrow.event.WalletHistoryStatusEvent; |
|
|
|
import com.sparrowwallet.sparrow.io.Config; |
|
|
|
import com.sparrowwallet.sparrow.io.Storage; |
|
|
@ -91,7 +91,7 @@ public class CoinTreeTable extends TreeTableView<Entry> { |
|
|
|
EventManager.get().post(new WalletDataChangedEvent(wallet)); |
|
|
|
//Trigger full wallet rescan
|
|
|
|
wallet.clearHistory(); |
|
|
|
EventManager.get().post(new WalletHistoryClearedEvent(wallet, pastWallet, storage.getWalletId(wallet))); |
|
|
|
EventManager.get().post(new WalletAddressesChangedEvent(wallet, pastWallet, storage.getWalletId(wallet))); |
|
|
|
} |
|
|
|
}); |
|
|
|
if(wallet.getBirthDate() == null) { |
|
|
|