daemon: fix print_tx not find transactions

It was not even trying to
This commit is contained in:
moneromooo-monero 2015-08-09 15:47:40 +01:00
parent 9c3715e46a
commit 1d678b1ee2
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -482,6 +482,7 @@ bool t_rpc_command_executor::print_transaction(crypto::hash transaction_hash) {
} }
else else
{ {
req.txs_hashes.push_back(epee::string_tools::pod_to_hex(transaction_hash));
if (!m_rpc_server->on_get_transactions(req, res)) if (!m_rpc_server->on_get_transactions(req, res))
{ {
tools::fail_msg_writer() << fail_message.c_str(); tools::fail_msg_writer() << fail_message.c_str();