From 124f823714ef6ddada47d65da0627ddeab0cb102 Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Tue, 19 Mar 2013 10:11:43 -0700 Subject: [PATCH] Deleting everything except the wallet will not help recover from BDB errors. Now that the wallet is the only thing in BDB any DB open errors must be from the wallet itself-- so deleting everything else will not likely help. --- src/init.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 34443d81..63610b17 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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); }