walletdb: remove fAggressive from Salvage

The only call to Salvage set fAggressive = true so remove that parameter
and always use DB_AGGRESSIVE
This commit is contained in:
Andrew Chow
2020-05-15 18:48:33 -04:00
parent 8ebcbc85c6
commit 07250b8dce
2 changed files with 4 additions and 12 deletions

View File

@@ -75,7 +75,7 @@ public:
* for huge databases.
*/
typedef std::pair<std::vector<unsigned char>, std::vector<unsigned char> > KeyValPair;
bool Salvage(const std::string& strFile, bool fAggressive, std::vector<KeyValPair>& vResult);
bool Salvage(const std::string& strFile, std::vector<KeyValPair>& vResult);
bool Open(bool retry);
void Close();