Catch ios_base::failure specifically

This commit is contained in:
Peter Bushnell
2019-03-31 14:47:54 +01:00
committed by Bushstar
parent 6fb4bbfb0e
commit 32def8d1c2

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;