mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-08 11:44:14 +01:00
Catch ios_base::failure specifically
This commit is contained in:
@@ -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