mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01: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
@ -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 New Issue
Block a user