mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-05 10:12:48 +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;
|
||||
}
|
||||
catch (...) {}
|
||||
catch (const std::ios_base::failure&) {}
|
||||
|
||||
bool fSkipCheck = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user