diff options
author | Peter Bushnell <bushsolo@gmail.com> | 2019-03-31 14:47:54 +0100 |
---|---|---|
committer | Bushstar <bushsolo@gmail.com> | 2020-03-10 06:05:16 +0000 |
commit | 32def8d1c29e0855fe5429687acabd2f29119316 (patch) | |
tree | e0373c8671163488d16c3f331b8fd12f685681d3 /src/wallet | |
parent | 6fb4bbfb0e5f1885bd8c4fea652facfbe3de5299 (diff) |
Catch ios_base::failure specifically
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/walletdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index a1928f45c4..6a470f38b8 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -277,7 +277,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, { ssValue >> hash; } - catch (...) {} + catch (const std::ios_base::failure&) {} bool fSkipCheck = false; |