notify: handle arbitrary tags

This commit is contained in:
moneromooo-monero
2019-01-28 19:32:28 +00:00
parent ff95921668
commit f6db59b011
5 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -2041,7 +2041,7 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
{
std::shared_ptr<tools::Notify> tx_notify = m_tx_notify;
if (tx_notify)
tx_notify->notify(epee::string_tools::pod_to_hex(txid).c_str());
tx_notify->notify("%s", epee::string_tools::pod_to_hex(txid).c_str(), NULL);
}
}
//----------------------------------------------------------------------------------------------------