Skip to content

Commit

Permalink
resolve DEFAULT_WALLET_DAT being removed
Browse files Browse the repository at this point in the history
Signed-off-by: Pasta <pasta@dashboost.org>
  • Loading branch information
PastaPastaPasta committed Apr 17, 2020
1 parent 92704d4 commit 3d3b045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5250,7 +5250,7 @@ bool CWallet::InitAutoBackup()
nWalletBackups = gArgs.GetArg("-createwalletbackups", 10);
nWalletBackups = std::max(0, std::min(10, nWalletBackups));

std::string strWalletFile = gArgs.GetArg("-wallet", DEFAULT_WALLET_DAT);
std::string strWalletFile = gArgs.GetArg("-wallet", "");

if(!AutoBackupWallet(nullptr, strWalletFile, strWarning, strError)) {
if (!strWarning.empty())
Expand Down

0 comments on commit 3d3b045

Please sign in to comment.