Skip to content

Commit

Permalink
Update method documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sef committed May 16, 2019
1 parent d56b832 commit 4acc245
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wallet/createtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,10 @@ func (w *Wallet) txToOutputs(op errors.Op, outputs []*wire.TxOut, account uint32
randomizeChangeIdx, w.RelayFee(), nil)
}

// txToOutputs creates a transaction, selecting previous outputs from an account
// txToOutputsWithOptions creates a transaction, selecting previous outputs from an account
// with no less than minconf confirmations, and creates a signed transaction
// that pays to each of the outputs.
// that pays to each of the outputs. Allows passing an optional `CreateTxOptions` reference
// to control how the transaction is constructed.
func (w *Wallet) txToOutputsWithOptions(op errors.Op, outputs []*wire.TxOut, account uint32,
minconf int32, randomizeChangeIdx bool, options *CreateTxOptions) (*txauthor.AuthoredTx, error) {

Expand Down

0 comments on commit 4acc245

Please sign in to comment.