aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-07-08 17:22:33 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-07-08 17:22:33 -0500
commite8d87fccc28dc4da7fe3284658a80395d9ea262f (patch)
tree2df9978608cacc344532113185e78f083af24bd4 /src/rpc
parentMerge pull request #6611 (diff)
parentrpc: fix loading rpc payment data from file (diff)
downloadmonero-e8d87fccc28dc4da7fe3284658a80395d9ea262f.tar.xz
Merge pull request #6627
4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
Diffstat (limited to 'src/rpc')
-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);