mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 06:50:15 -04:00
simplewallet: respect do-not-relay
in sweep_single
This commit is contained in:
parent
76feeb64b7
commit
e0df82eb00
1 changed files with 1 additions and 2 deletions
|
@ -7622,8 +7622,7 @@ bool simple_wallet::sweep_single(const std::vector<std::string> &args_)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_wallet->commit_tx(ptx_vector[0]);
|
commit_or_save(ptx_vector, m_do_not_relay);
|
||||||
success_msg_writer(true) << tr("Money successfully sent, transaction: ") << get_transaction_hash(ptx_vector[0].tx);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue