notify: handle arbitrary tags

This commit is contained in:
moneromooo-monero
2019-01-09 14:28:42 +00:00
parent ebc60a098d
commit 842a5d8bbe
6 changed files with 113 additions and 6 deletions
+1 -1
View File
@@ -1861,7 +1861,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);
}
}
//----------------------------------------------------------------------------------------------------