aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.h
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2017-08-30 00:05:36 -0400
committerLee Clagett <code@leeclagett.com>2017-08-30 17:39:59 -0400
commit9c83f8063d799cd5209e05ec2286d0fecaa67bb7 (patch)
tree94e355760b3c241392cdb31cdec7cc8fd6a18dd0 /src/wallet/wallet_rpc_server.h
parentMerge pull request #2311 (diff)
downloadmonero-9c83f8063d799cd5209e05ec2286d0fecaa67bb7.tar.xz
Do not create file when RPC user/pass is given and use file locking
Diffstat (limited to 'src/wallet/wallet_rpc_server.h')
-rw-r--r--src/wallet/wallet_rpc_server.h3
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;