aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.cpp
diff options
context:
space:
mode:
authortobtoht <thotbot@protonmail.com>2021-10-22 05:38:32 +0200
committerselsta <selsta@sent.at>2021-10-22 05:51:57 +0200
commit29c03e2d9075b8082c935a0468313f9bbba5e810 (patch)
treece2c978c28f88dba3c6b9534569aa22905f51436 /src/wallet/api/wallet_manager.cpp
parentepee: add missing header (diff)
downloadmonero-29c03e2d9075b8082c935a0468313f9bbba5e810.tar.xz
wallet_api: enable set_strict_default_file_permissions
Diffstat (limited to 'src/wallet/api/wallet_manager.cpp')
-rw-r--r--src/wallet/api/wallet_manager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp
index 900fe91e5..37a3fe9f8 100644
--- a/src/wallet/api/wallet_manager.cpp
+++ b/src/wallet/api/wallet_manager.cpp
@@ -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)
{