Catch ios_base::failure specifically
This commit is contained in:
1 parent
6fb4bbfb0e
commit
32def8d1c2
1 file changed
+1
-1
@@ -277,7 +277,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
|
|||||||
{
|
{
|
||||||
ssValue >> hash;
|
ssValue >> hash;
|
||||||
}
|
}
|
||||||
catch (...) {}
|
catch (const std::ios_base::failure&) {}
|
||||||
|
|
||||||
bool fSkipCheck = false;
|
bool fSkipCheck = false;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user