mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
daemon: initialize decode_as_json in RPC request
CID 161886
This commit is contained in:
parent
11f71af56c
commit
06c1e05735
1 changed files with 1 additions and 0 deletions
|
@ -700,6 +700,7 @@ bool t_rpc_command_executor::print_transaction(crypto::hash transaction_hash) {
|
|||
std::string fail_message = "Problem fetching transaction";
|
||||
|
||||
req.txs_hashes.push_back(epee::string_tools::pod_to_hex(transaction_hash));
|
||||
req.decode_as_json = false;
|
||||
if (m_is_rpc)
|
||||
{
|
||||
if (!m_rpc_client->rpc_request(req, res, "/gettransactions", fail_message.c_str()))
|
||||
|
|
Loading…
Reference in a new issue