mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Merge pull request #1581 from ManfredKarrer/protobuffer-exception-handling
Handle unknown PB data from encrypted messages
This commit is contained in:
commit
0cc4f7b646
1 changed files with 2 additions and 1 deletions
|
@ -88,6 +88,7 @@ import bisq.common.app.Version;
|
|||
import bisq.common.crypto.CryptoException;
|
||||
import bisq.common.crypto.KeyRing;
|
||||
import bisq.common.crypto.SealedAndSigned;
|
||||
import bisq.common.proto.ProtobufferException;
|
||||
import bisq.common.storage.CorruptedDatabaseFilesHandler;
|
||||
|
||||
import org.bitcoinj.core.Address;
|
||||
|
@ -807,7 +808,7 @@ public class MainViewModel implements ViewModel {
|
|||
} else {
|
||||
throw new CryptoException("Payload not correct after decryption");
|
||||
}
|
||||
} catch (CryptoException e) {
|
||||
} catch (CryptoException | ProtobufferException e) {
|
||||
e.printStackTrace();
|
||||
String msg = Res.get("popup.warning.cryptoTestFailed", e.getMessage());
|
||||
log.error(msg);
|
||||
|
|
Loading…
Add table
Reference in a new issue