multi: add random coin selection
This commit is contained in:
10 files changed
+63
-22
No files matched your search
@@ -250,7 +250,9 @@ func (w *WalletAssembler) ProvisionChannel(r *Request) (Intent, error) {
|
||||
"sat/kw as fee rate", int64(r.FeeRate))
|
||||
|
||||
// Find all unlocked unspent witness outputs that satisfy the
|
||||
// minimum number of confirmations required.
|
||||
// minimum number of confirmations required. Coin selection in
|
||||
// this function currently ignores the configured coin selection
|
||||
// strategy.
|
||||
coins, err := w.cfg.CoinSource.ListCoins(
|
||||
r.MinConfs, math.MaxInt32,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user