mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 14:28:22 +00:00
Merge pull request #2384 from gmaxwell/trim_error0
Deleting everything except the wallet will not help recover from BDB errors.
This commit is contained in:
commit
8ab14e6976
@ -612,9 +612,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
if (!bitdb.Open(GetDataDir()))
|
if (!bitdb.Open(GetDataDir()))
|
||||||
{
|
{
|
||||||
string msg = strprintf(_("Error initializing database environment %s!"
|
string msg = strprintf(_("Error initializing wallet database environment %s!"), strDataDir.c_str());
|
||||||
" To recover, BACKUP THAT DIRECTORY, then remove"
|
|
||||||
" everything from it except for wallet.dat."), strDataDir.c_str());
|
|
||||||
return InitError(msg);
|
return InitError(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user