Merge pull request #9978

e0df82e simplewallet: respect `do-not-relay` in `sweep_single` (hinto.janai)
This commit is contained in:
tobtoht 2025-07-10 12:18:34 +00:00
commit f1ffcc5c49
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -7776,8 +7776,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);
}
}