mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #8020
47e7a43
wallet_api: enable set_strict_default_file_permissions (tobtoht)
This commit is contained in:
commit
d573b3d76c
@ -49,6 +49,11 @@ namespace epee {
|
|||||||
|
|
||||||
namespace Monero {
|
namespace Monero {
|
||||||
|
|
||||||
|
WalletManagerImpl::WalletManagerImpl()
|
||||||
|
{
|
||||||
|
tools::set_strict_default_file_permissions(true);
|
||||||
|
}
|
||||||
|
|
||||||
Wallet *WalletManagerImpl::createWallet(const std::string &path, const std::string &password,
|
Wallet *WalletManagerImpl::createWallet(const std::string &path, const std::string &password,
|
||||||
const std::string &language, NetworkType nettype, uint64_t kdf_rounds)
|
const std::string &language, NetworkType nettype, uint64_t kdf_rounds)
|
||||||
{
|
{
|
||||||
|
@ -95,7 +95,7 @@ public:
|
|||||||
bool setProxy(const std::string &address) override;
|
bool setProxy(const std::string &address) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WalletManagerImpl() {}
|
WalletManagerImpl();
|
||||||
friend struct WalletManagerFactory;
|
friend struct WalletManagerFactory;
|
||||||
net::http::client m_http_client;
|
net::http::client m_http_client;
|
||||||
std::string m_errorString;
|
std::string m_errorString;
|
||||||
|
Loading…
Reference in New Issue
Block a user