multi: add random coin selection

This commit is contained in:
Joost Jager committed 2021-05-24 20:09:56 +02:00
1 parent 4f98cea820
commit 42f4afef75
10 files changed
+63 -22

No files matched your search

+2 -1
View File
@@ -332,7 +332,8 @@ func (t *txInputSet) tryAddWalletInputsIfNeeded() error {
}
// Retrieve wallet utxos. Only consider confirmed utxos to prevent
// problems around RBF rules for unconfirmed inputs.
// problems around RBF rules for unconfirmed inputs. This currently
// ignores the configured coin selection strategy.
utxos, err := t.wallet.ListUnspentWitnessFromDefaultAccount(
1, math.MaxInt32,
)