Make successful transfer log message more informative

"Payment successfully sent" can be misleading if the TX isn't confirmed and drops from TX-pool.
release-v0.4.0.1
JollyMort 7 years ago
parent ab594cfee9
commit 23909bb04d
No known key found for this signature in database
GPG Key ID: 3D7DFA4C746C31E0

@ -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();

Loading…
Cancel
Save