Merge pull request #9698

861437c add do_not_relay option to submit_multisig_main command in simplewallet (SNeedlewoods)
This commit is contained in:
tobtoht
2025-07-13 16:52:14 +00:00

View File

@@ -1639,13 +1639,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)
{
@@ -7439,7 +7434,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)
{