From 71182c6423048277f40d4b3b037195401bda27ba Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Mon, 7 Jul 2025 20:36:52 +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 011090b4c..a2929516b 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -7462,8 +7462,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); } }