mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
added back successful tx message. oops.
This commit is contained in:
parent
8166650ae0
commit
002ce963bf
1 changed files with 3 additions and 1 deletions
|
@ -883,7 +883,9 @@ void simple_wallet::create_transactions(std::vector<cryptonote::tx_destination_e
|
|||
// if we made it this far, we're OK to actually send the transactions
|
||||
while (!ptx_vector.empty())
|
||||
{
|
||||
m_wallet->commit_tx(ptx_vector.back());
|
||||
auto & ptx = ptx_vector.back();
|
||||
m_wallet->commit_tx(ptx);
|
||||
success_msg_writer(true) << "Money successfully sent, transaction " << get_transaction_hash(ptx.tx);
|
||||
// if no exception, remove element from vector
|
||||
ptx_vector.pop_back();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue