diff --git a/src/main/java/com/sparrowwallet/sparrow/control/CoinTreeTable.java b/src/main/java/com/sparrowwallet/sparrow/control/CoinTreeTable.java index 6717d51b..2360e384 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/CoinTreeTable.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/CoinTreeTable.java @@ -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 { 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) { diff --git a/src/main/resources/native/linux/x64/libbwt_jni.so b/src/main/resources/native/linux/x64/libbwt_jni.so index 6a56829f..8e38634d 100755 Binary files a/src/main/resources/native/linux/x64/libbwt_jni.so and b/src/main/resources/native/linux/x64/libbwt_jni.so differ diff --git a/src/main/resources/native/osx/x64/libbwt_jni.dylib b/src/main/resources/native/osx/x64/libbwt_jni.dylib index f1bfc7c0..82ab8f67 100755 Binary files a/src/main/resources/native/osx/x64/libbwt_jni.dylib and b/src/main/resources/native/osx/x64/libbwt_jni.dylib differ diff --git a/src/main/resources/native/windows/x64/bwt_jni.dll b/src/main/resources/native/windows/x64/bwt_jni.dll index 2992e3e4..03d20e45 100755 Binary files a/src/main/resources/native/windows/x64/bwt_jni.dll and b/src/main/resources/native/windows/x64/bwt_jni.dll differ