mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Detect and handle corrupted SPV state allowing user-initiated resync.
This commit is contained in:
parent
bba7327115
commit
b9fcbd4ee8
@ -191,6 +191,8 @@ public class WalletAppSetup {
|
||||
exception -> {
|
||||
if (exception instanceof InvalidHostException && showPopupIfInvalidBtcConfigHandler != null) {
|
||||
showPopupIfInvalidBtcConfigHandler.run();
|
||||
} else if (exception instanceof IllegalStateException && spvFileCorruptedHandler != null) {
|
||||
spvFileCorruptedHandler.accept(Res.get("error.spvFileCorrupted", exception.getMessage()));
|
||||
} else {
|
||||
walletServiceException.set(exception);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user