aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2017-01-17 16:04:16 +0100
committerJonas Schnelli <[email protected]>2017-03-24 10:28:40 +0100
commit58e148333eb4b7ad87154a8b4d45ff0ebc3c9591 (patch)
tree63d3bea9098140514981d5ddc1bae459de942575 /src
parentOnly show keypoolsize_hd_internal if HD split is enabled (diff)
downloaddiscoin-58e148333eb4b7ad87154a8b4d45ff0ebc3c9591.tar.xz
discoin-58e148333eb4b7ad87154a8b4d45ff0ebc3c9591.zip
CKeyPool avoid "catch (...)" in SerializationOp
Diffstat (limited to 'src')
-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 d93830f08..4b40da168 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;
}