diff options
| author | tobtoht <tob@featherwallet.org> | 2025-07-10 12:18:34 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2025-07-10 12:18:34 +0000 |
| commit | f1ffcc5c497c8b5475eab4a9ff53b21e21f58d50 (patch) | |
| tree | e47b35b226e16e817fe49e9bd37e6d7185ed31f9 /src/simplewallet | |
| parent | 75ae1f33b4d82511be786c82cadf7cbcdff70acf (diff) | |
| parent | e0df82eb003f76f071755cbf4a85ad7f95a70b0d (diff) | |
| download | monzero-core-f1ffcc5c497c8b5475eab4a9ff53b21e21f58d50.tar.gz monzero-core-f1ffcc5c497c8b5475eab4a9ff53b21e21f58d50.tar.xz monzero-core-f1ffcc5c497c8b5475eab4a9ff53b21e21f58d50.zip | |
Merge pull request #9978
e0df82e simplewallet: respect `do-not-relay` in `sweep_single` (hinto.janai)
Diffstat (limited to 'src/simplewallet')
| -rw-r--r-- | src/simplewallet/simplewallet.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index dae348ab0..e6400d4ba 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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); } } |
