mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-09 18:00:13 +02: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