diff --git a/wallet/createtx.go b/wallet/createtx.go index 7f3fdb9f1f..745d0608f8 100644 --- a/wallet/createtx.go +++ b/wallet/createtx.go @@ -115,9 +115,8 @@ func (w *Wallet) txToOutputs(outputs []*wire.TxOut, return err } - // var inputSource txauthor.InputSource // We need to define the Selection Strategy - var inputSelectionStrategy txauthor.InputSelectionStrategy = txauthor.ConstantSelection + var inputSelectionStrategy txauthor.InputSelectionStrategy switch coinSelectionStrategy { // Pick largest outputs first.