mirror of
https://github.com/monero-project/monero.git
synced 2025-10-11 10:58:31 -04:00
wallet: add sweep_below function
It sweeps all outputs below the given threshold This is available via the existing sweep_all RPC, by setting amount_threshold the desired amount (in atomic units)
This commit is contained in:
parent
9a9fb0483f
commit
6df83b3efb
7 changed files with 39 additions and 10 deletions
|
@ -952,7 +952,7 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const
|
|||
static_cast<uint32_t>(priority),
|
||||
extra, m_trustedDaemon);
|
||||
} else {
|
||||
transaction->m_pending_tx = m_wallet->create_transactions_all(addr, fake_outs_count, 0 /* unlock_time */,
|
||||
transaction->m_pending_tx = m_wallet->create_transactions_all(0, addr, fake_outs_count, 0 /* unlock_time */,
|
||||
static_cast<uint32_t>(priority),
|
||||
extra, m_trustedDaemon);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue