|
|
@ -626,7 +626,6 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet) |
|
|
|
|
|
|
|
|
|
|
|
DBErrors CWalletDB::FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx) |
|
|
|
DBErrors CWalletDB::FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx) |
|
|
|
{ |
|
|
|
{ |
|
|
|
bool fNoncriticalErrors = false; |
|
|
|
|
|
|
|
DBErrors result = DB_LOAD_OK; |
|
|
|
DBErrors result = DB_LOAD_OK; |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
@ -681,9 +680,6 @@ DBErrors CWalletDB::FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWal |
|
|
|
result = DB_CORRUPT; |
|
|
|
result = DB_CORRUPT; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (fNoncriticalErrors && result == DB_LOAD_OK) |
|
|
|
|
|
|
|
result = DB_NONCRITICAL_ERROR; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|