mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Remove call to SetMiscWarning in util.cpp
For some reason, this fails while linking dash-cli. I tried to add LIBBITCOIN_COMMON to dash-cli, but with no luck. Removing the call for now, has to be fixed later.
This commit is contained in:
parent
dcc9dffae9
commit
504fecfe63
@ -592,7 +592,8 @@ const boost::filesystem::path &GetBackupsDir()
|
||||
if (fs::is_directory(backupsDir)) return backupsDir;
|
||||
// Fallback to default path if it doesn't
|
||||
LogPrintf("%s: Warning: incorrect parameter -walletbackupsdir, path must exist! Using default path.\n", __func__);
|
||||
SetMiscWarning(_("Warning: incorrect parameter -walletbackupsdir, path must exist! Using default path."));
|
||||
// TODO this causes link errors for dash-cli. I tried to add LIBBITCOIN_COMMON to dash-cli, but with no luck
|
||||
//SetMiscWarning(_("Warning: incorrect parameter -walletbackupsdir, path must exist! Using default path."));
|
||||
}
|
||||
// Default path
|
||||
backupsDir = GetDataDir() / "backups";
|
||||
|
Loading…
Reference in New Issue
Block a user