mirror of
https://github.com/monero-project/monero.git
synced 2026-01-15 06:13:28 -08:00
Merge pull request #2452
0aaaca29tx_pool: set the "invalid input" bit when check_tx_inputs fails (moneromooo-monero)9236823bsimplewallet: print tx rejection reason where it was missing (moneromooo-monero)3dee3301core_rpc_server: print tx rejection reason at L0 too (moneromooo-monero)
This commit is contained in:
@@ -3511,6 +3511,9 @@ bool simple_wallet::submit_transfer(const std::vector<std::string> &args_)
|
||||
catch (const tools::error::tx_rejected& e)
|
||||
{
|
||||
fail_msg_writer() << (boost::format(tr("transaction %s was rejected by daemon with status: ")) % get_transaction_hash(e.tx())) << e.status();
|
||||
std::string reason = e.reason();
|
||||
if (!reason.empty())
|
||||
fail_msg_writer() << tr("Reason: ") << reason;
|
||||
}
|
||||
catch (const tools::error::tx_sum_overflow& e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user