Skip to content

Commit

Permalink
Merge pull request bitcoin#2384 from gmaxwell/trim_error0
Browse files Browse the repository at this point in the history
Deleting everything except the wallet will not help recover from BDB errors.
  • Loading branch information
gavinandresen committed Mar 19, 2013
2 parents 1a1ce49 + 124f823 commit 8ab14e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,7 @@ bool AppInit2()

if (!bitdb.Open(GetDataDir()))
{
string msg = strprintf(_("Error initializing database environment %s!"
" To recover, BACKUP THAT DIRECTORY, then remove"
" everything from it except for wallet.dat."), strDataDir.c_str());
string msg = strprintf(_("Error initializing wallet database environment %s!"), strDataDir.c_str());
return InitError(msg);
}

Expand Down

0 comments on commit 8ab14e6

Please sign in to comment.