Skip to content

Commit

Permalink
Added comment to CreateOpReturnOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
ordishs committed Dec 6, 2022
1 parent d167434 commit 9c6e5f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions txoutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ func (tx *Tx) AddOpReturnPartsOutput(data [][]byte) error {
return nil
}

// CreateOpReturnOutput creates a new Output with OP_FALSE OP_RETURN and then
// uses OP_PUSHDATA format to encode the multiple byte arrays passed in.
func CreateOpReturnOutput(data [][]byte) (*Output, error) {
s := &bscript.Script{}

Expand Down

0 comments on commit 9c6e5f0

Please sign in to comment.