aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rpc_payment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/rpc_payment.cpp')
-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 2b9c19f57..325237859 100644
--- a/src/rpc/rpc_payment.cpp
+++ b/src/rpc/rpc_payment.cpp
@@ -284,7 +284,7 @@ namespace cryptonote
{
TRY_ENTRY();
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);