diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-25 16:40:35 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-25 16:40:35 +0200 |
commit | 216395d43e41d2e9e6c81add94da98b3577e0542 (patch) | |
tree | f5d2c949efd6e4424a03ce08f0da1d8e926d6103 /src/wallet/wallet_rpc_server.h | |
parent | Merge pull request #2377 (diff) | |
parent | Do not create file when RPC user/pass is given and use file locking (diff) | |
download | monero-216395d43e41d2e9e6c81add94da98b3577e0542.tar.xz |
Merge pull request #2379
9c83f806 Do not create file when RPC user/pass is given and use file locking (Lee Clagett)
Diffstat (limited to 'src/wallet/wallet_rpc_server.h')
-rw-r--r-- | src/wallet/wallet_rpc_server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.h b/src/wallet/wallet_rpc_server.h index dd54222b0..e5ed0a846 100644 --- a/src/wallet/wallet_rpc_server.h +++ b/src/wallet/wallet_rpc_server.h @@ -33,6 +33,7 @@ #include <boost/program_options/options_description.hpp> #include <boost/program_options/variables_map.hpp> #include <string> +#include "common/util.h" #include "net/http_server_impl_base.h" #include "wallet_rpc_server_commands_defs.h" #include "wallet2.h" @@ -154,7 +155,7 @@ namespace tools wallet2 *m_wallet; std::string m_wallet_dir; - std::string rpc_login_filename; + tools::private_file rpc_login_file; std::atomic<bool> m_stop; bool m_trusted_daemon; epee::net_utils::http::http_simple_client m_http_client; |