mirror of
https://github.com/monero-project/monero.git
synced 2025-08-19 09:48:12 -04:00
wallet: do not display daemon controlled text if untrusted
This commit is contained in:
parent
ed54ac8fdf
commit
9092fc4bfd
4 changed files with 89 additions and 39 deletions
|
@ -451,7 +451,7 @@ namespace
|
|||
}
|
||||
catch (const tools::error::tx_rejected& e)
|
||||
{
|
||||
fail_msg_writer() << (boost::format(sw::tr("transaction %s was rejected by daemon with status: ")) % get_transaction_hash(e.tx())) << e.status();
|
||||
fail_msg_writer() << (boost::format(sw::tr("transaction %s was rejected by daemon")) % get_transaction_hash(e.tx()));
|
||||
std::string reason = e.reason();
|
||||
if (!reason.empty())
|
||||
fail_msg_writer() << sw::tr("Reason: ") << reason;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue