aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-07-13 16:51:20 +0000
committertobtoht <tob@featherwallet.org>2025-07-13 16:51:20 +0000
commit191a41ed3a0eed1540e759415fd7e44f1bff2420 (patch)
treecf1bcf55530e104639e5c734ddac3a3250e2d5f7
parentf8c575e0b16825d79dd3f28992bc4e1e29c006a1 (diff)
parentbec90df7ec7ce4e788d4788bc8b3fe26d0b02c62 (diff)
downloadmonzero-core-191a41ed3a0eed1540e759415fd7e44f1bff2420.tar.gz
monzero-core-191a41ed3a0eed1540e759415fd7e44f1bff2420.tar.xz
monzero-core-191a41ed3a0eed1540e759415fd7e44f1bff2420.zip
Merge pull request #9983
bec90df add do_not_relay option to submit_multisig_main command in simplewallet (SNeedlewoods)
-rw-r--r--src/simplewallet/simplewallet.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index e6400d4ba..5292580d7 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -1651,13 +1651,8 @@ bool simple_wallet::submit_multisig_main(const std::vector<std::string> &args, b
return false;
}
- // actually commit the transactions
- for (auto &ptx: txs.m_ptx)
- {
- m_wallet->commit_tx(ptx);
- success_msg_writer(true) << tr("Transaction successfully submitted, transaction ") << get_transaction_hash(ptx.tx) << ENDL
- << tr("You can check its status by using the `show_transfers` command.");
- }
+ // actually commit or save the transactions
+ commit_or_save(txs.m_ptx, m_do_not_relay);
}
catch (const std::exception &e)
{
@@ -7750,7 +7745,6 @@ bool simple_wallet::sweep_single(const std::vector<std::string> &args_)
}
commit_or_save(signed_tx.ptx, m_do_not_relay);
- success_msg_writer(true) << tr("Money successfully sent, transaction: ") << get_transaction_hash(ptx_vector[0].tx);
}
catch (const std::exception& e)
{