aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-06-19 16:07:45 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-06-19 16:07:45 -0500
commit44e3875190fa3ed4c063966f43a1ef56188e4f9c (patch)
tree3394a5829c82923773e405c4b0a9fac91f0fdccf /src
parentMerge pull request #6644 (diff)
parentrpc: fix loading rpc payment data from file (diff)
downloadmonero-44e3875190fa3ed4c063966f43a1ef56188e4f9c.tar.xz
Merge pull request #6645
0a19785 rpc: fix loading rpc payment data from file (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/rpc/rpc_payment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rpc_payment.cpp b/src/rpc/rpc_payment.cpp
index ab6831382..6ff3ff525 100644
--- a/src/rpc/rpc_payment.cpp
+++ b/src/rpc/rpc_payment.cpp
@@ -290,7 +290,7 @@ namespace cryptonote
TRY_ENTRY();
boost::lock_guard<boost::mutex> lock(mutex);
m_directory = std::move(directory);
- std::string state_file_path = directory + "/" + RPC_PAYMENTS_DATA_FILENAME;
+ std::string state_file_path = m_directory + "/" + RPC_PAYMENTS_DATA_FILENAME;
MINFO("loading rpc payments data from " << state_file_path);
std::ifstream data;
data.open(state_file_path, std::ios_base::binary | std::ios_base::in);