mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 18:58:52 +00:00
daemon: initialize decode_as_json in RPC request
CID 161886
This commit is contained in:
parent
11f71af56c
commit
06c1e05735
@ -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 New Issue
Block a user