aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorPeter Bushnell <bushsolo@gmail.com>2019-03-31 14:47:54 +0100
committerBushstar <bushsolo@gmail.com>2020-03-10 06:05:16 +0000
commit32def8d1c29e0855fe5429687acabd2f29119316 (patch)
treee0373c8671163488d16c3f331b8fd12f685681d3 /src/wallet
parent6fb4bbfb0e5f1885bd8c4fea652facfbe3de5299 (diff)
Catch ios_base::failure specifically
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/walletdb.cpp2
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;