Skip to content

Commit 58e1483

Browse files
committed
CKeyPool avoid "catch (...)" in SerializationOp
1 parent e138876 commit 58e1483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class CKeyPool
118118
try {
119119
READWRITE(fInternal);
120120
}
121-
catch (...) {
121+
catch (std::ios_base::failure&) {
122122
/* flag as external address if we can't read the internal boolean */
123123
fInternal = false;
124124
}

0 commit comments

Comments
 (0)