We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56376f3 commit 4f65af9Copy full SHA for 4f65af9
src/wallet/db.cpp
@@ -407,13 +407,6 @@ bool BerkeleyBatch::VerifyEnvironment(const fs::path& file_path, std::string& er
407
LogPrintf("Using BerkeleyDB version %s\n", DbEnv::version(nullptr, nullptr, nullptr));
408
LogPrintf("Using wallet %s\n", file_path.string());
409
410
- // Wallet file must be a plain filename without a directory
411
- if (walletFile != fs::basename(walletFile) + fs::extension(walletFile))
412
- {
413
- errorStr = strprintf(_("Wallet %s resides outside wallet directory %s"), walletFile, walletDir.string());
414
- return false;
415
- }
416
-
417
if (!env->Open(true /* retry */)) {
418
errorStr = strprintf(_("Error initializing wallet database environment %s!"), walletDir);
419
return false;
0 commit comments