diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-06-05 11:20:38 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-06-05 11:21:24 +0000 |
commit | 4df8f9c414f19b1d5f99ac02c0d39347da419973 (patch) | |
tree | c228cad99e199c8b6c6e6233592e774f69dd8c27 /src | |
parent | Merge pull request #6612 (diff) | |
download | monero-4df8f9c414f19b1d5f99ac02c0d39347da419973.tar.xz |
rpc: fix loading rpc payment data from file
Got broken after making one of those micro optimizations requested on review..
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/rpc_payment.cpp | 2 |
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); |