rpc: fix loading rpc payment data from file

Got broken after making one of those micro optimizations requested on review..
pull/320/head
moneromooo-monero 4 years ago
parent 992b7ce30f
commit 4df8f9c414
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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);

Loading…
Cancel
Save