Skip to content

Commit

Permalink
fixup! wallet: adopting changes for the new input selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggie1984 committed Feb 14, 2023
1 parent 7fbf8c5 commit e9c822c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wallet/createtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e9c822c

Please sign in to comment.