aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-01-17 16:04:16 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2017-03-24 10:28:40 +0100
commit58e148333eb4b7ad87154a8b4d45ff0ebc3c9591 (patch)
tree63d3bea9098140514981d5ddc1bae459de942575 /src/wallet/wallet.h
parente138876f0abc6e13a8240f99e4143712fc02ec92 (diff)
downloadbitcoin-58e148333eb4b7ad87154a8b4d45ff0ebc3c9591.tar.xz
CKeyPool avoid "catch (...)" in SerializationOp
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index d93830f085..4b40da1683 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -118,7 +118,7 @@ public:
try {
READWRITE(fInternal);
}
- catch (...) {
+ catch (std::ios_base::failure&) {
/* flag as external address if we can't read the internal boolean */
fInternal = false;
}