mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 05:58:53 +00:00
Merge pull request #6627
4df8f9c
rpc: fix loading rpc payment data from file (moneromooo-monero)
This commit is contained in:
commit
e8d87fccc2
@ -290,7 +290,7 @@ namespace cryptonote
|
|||||||
TRY_ENTRY();
|
TRY_ENTRY();
|
||||||
boost::lock_guard<boost::mutex> lock(mutex);
|
boost::lock_guard<boost::mutex> lock(mutex);
|
||||||
m_directory = std::move(directory);
|
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);
|
MINFO("loading rpc payments data from " << state_file_path);
|
||||||
std::ifstream data;
|
std::ifstream data;
|
||||||
data.open(state_file_path, std::ios_base::binary | std::ios_base::in);
|
data.open(state_file_path, std::ios_base::binary | std::ios_base::in);
|
||||||
|
Loading…
Reference in New Issue
Block a user