From e0df82eb003f76f071755cbf4a85ad7f95a70b0d Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Mon, 7 Jul 2025 20:38:37 +0000 Subject: [PATCH] simplewallet: respect `do-not-relay` in `sweep_single` --- src/simplewallet/simplewallet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index b9e30f9d94..bcad1eed9d 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -7622,8 +7622,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); } }