Browse Source

CKeyPool avoid "catch (...)" in SerializationOp

0.15
Jonas Schnelli 8 years ago
parent
commit
58e148333e
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D
  1. 2
      src/wallet/wallet.h

2
src/wallet/wallet.h

@ -118,7 +118,7 @@ public: @@ -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;
}

Loading…
Cancel
Save