mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Fix method name in invoke_http_json_rpc
Previously, the method name was printed as an exmpty string because the input string had already been moved with `std::move`.
This commit is contained in:
parent
32c0f908cd
commit
8f30350d03
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ namespace epee
|
|||
}
|
||||
if(resp_t.error.code || resp_t.error.message.size())
|
||||
{
|
||||
LOG_ERROR("RPC call of \"" << method_name << "\" returned error: " << resp_t.error.code << ", message: " << resp_t.error.message);
|
||||
LOG_ERROR("RPC call of \"" << req_t.method << "\" returned error: " << resp_t.error.code << ", message: " << resp_t.error.message);
|
||||
return false;
|
||||
}
|
||||
result_struct = resp_t.result;
|
||||
|
|
Loading…
Reference in a new issue