From 58e148333eb4b7ad87154a8b4d45ff0ebc3c9591 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Tue, 17 Jan 2017 16:04:16 +0100 Subject: [PATCH] CKeyPool avoid "catch (...)" in SerializationOp --- src/wallet/wallet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }