Make successful transfer log message more informative

"Payment successfully sent" can be misleading if the TX isn't confirmed and drops from TX-pool.
This commit is contained in:
JollyMort 2017-07-22 23:35:53 +02:00
parent ab594cfee9
commit 23909bb04d
No known key found for this signature in database
GPG key ID: 3D7DFA4C746C31E0

View file

@ -2375,7 +2375,8 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
{
auto & ptx = ptx_vector.back();
m_wallet->commit_tx(ptx);
success_msg_writer(true) << tr("Money successfully sent, transaction ") << get_transaction_hash(ptx.tx);
success_msg_writer(true) << tr("Transaction successfully submitted, transaction ") << get_transaction_hash(ptx.tx) << ENDL
<< tr("You can check its status by using the `show_transfers` command.");
// if no exception, remove element from vector
ptx_vector.pop_back();