From 002ce963bfccb2e592e626c198e1fc9cbac96216 Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Mon, 16 Jun 2014 14:35:20 -0400 Subject: [PATCH] added back successful tx message. oops. --- src/simplewallet/simplewallet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index e5cc4d166..96f209cad 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -883,7 +883,9 @@ void simple_wallet::create_transactions(std::vectorcommit_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(); }