Catch ios_base::failure specifically

This commit is contained in:
Peter Bushnell authored and Bushstar committed 2020-03-10 06:05:16 +00:00
1 parent 6fb4bbfb0e
commit 32def8d1c2
1 file changed
+1 -1
+1 -1
View File
@@ -277,7 +277,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
{
ssValue >> hash;
}
catch (...) {}
catch (const std::ios_base::failure&) {}
bool fSkipCheck = false;