mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
When reading wallets, catch another possible data inconsistency and throw UnreadableWalletException.
This commit is contained in:
parent
e16c357723
commit
7419556717
@ -386,6 +386,8 @@ public class WalletProtobufSerializer {
|
||||
return readWallet(params, null, walletProto);
|
||||
} catch (IOException e) {
|
||||
throw new UnreadableWalletException("Could not parse input stream to protobuf", e);
|
||||
} catch (IllegalStateException e) {
|
||||
throw new UnreadableWalletException("Could not parse input stream to protobuf", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user