diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index dae348ab03..e6400d4ba4 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -7776,8 +7776,7 @@ bool simple_wallet::sweep_single(const std::vector &args_) } else { - m_wallet->commit_tx(ptx_vector[0]); - success_msg_writer(true) << tr("Money successfully sent, transaction: ") << get_transaction_hash(ptx_vector[0].tx); + commit_or_save(ptx_vector, m_do_not_relay); } }