mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 18:56:59 +01:00
Detect and handle corrupted SPV state allowing user-initiated resync.
This commit is contained in:
parent
bba7327115
commit
b9fcbd4ee8
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue