diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-02-23 23:51:02 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-24 00:49:50 +0200 |
commit | e79110822efdc5fef27b1b24232a0655359e7df3 (patch) | |
tree | 1b341906d968306ebcecdcc6d667d97d0c2d61ba /src/init.cpp | |
parent | af10e3f6ac26a1ece7950f5263864c94049bf89d (diff) |
remove duplicate bitdb.Open() code from init
- remove code from step 7, which we already have in step 5 of init
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/init.cpp b/src/init.cpp index f6485c3b1d..11b7554ed1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -733,15 +733,6 @@ bool AppInit2(boost::thread_group& threadGroup) fReindex = GetBoolArg("-reindex"); - // Todo: Check if needed, because in step 5 we do the same - 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()); - return InitError(msg); - } - // Upgrading to 0.8; hard-link the old blknnnn.dat files into /blocks/ filesystem::path blocksDir = GetDataDir() / "blocks"; if (!filesystem::exists(blocksDir)) |