mirror of
https://github.com/monero-project/monero.git
synced 2025-12-08 05:40:56 -08:00
simplewallet: respect do-not-relay in sweep_single
This commit is contained in:
@@ -7462,8 +7462,7 @@ bool simple_wallet::sweep_single(const std::vector<std::string> &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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user