mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
wallet_api: enable set_strict_default_file_permissions
This commit is contained in:
parent
1c26d34a2a
commit
29c03e2d90
2 changed files with 6 additions and 1 deletions
|
@ -49,6 +49,11 @@ namespace epee {
|
|||
|
||||
namespace Monero {
|
||||
|
||||
WalletManagerImpl::WalletManagerImpl()
|
||||
{
|
||||
tools::set_strict_default_file_permissions(true);
|
||||
}
|
||||
|
||||
Wallet *WalletManagerImpl::createWallet(const std::string &path, const std::string &password,
|
||||
const std::string &language, NetworkType nettype, uint64_t kdf_rounds)
|
||||
{
|
||||
|
|
|
@ -95,7 +95,7 @@ public:
|
|||
bool setProxy(const std::string &address) override;
|
||||
|
||||
private:
|
||||
WalletManagerImpl() {}
|
||||
WalletManagerImpl();
|
||||
friend struct WalletManagerFactory;
|
||||
net::http::client m_http_client;
|
||||
std::string m_errorString;
|
||||
|
|
Loading…
Reference in a new issue