mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 09:10:13 -04:00
Merge pull request #5027
9092fc4b
wallet: do not display daemon controlled text if untrusted (moneromooo-monero)
This commit is contained in:
commit
3eb96fa512
4 changed files with 89 additions and 39 deletions
|
@ -541,7 +541,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