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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user