Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Tíghearnán Carroll committed Dec 2, 2021
1 parent 2659a4d commit 4c096dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bscript/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ func (s *Script) AppendPushDataStrings(pushDataStrings []string) error {
return s.AppendPushDataArray(dataBytes)
}

// AppendOpcodes appends an opcode type to the script
// AppendOpcodes appends opcodes type to the script.
// This does not support appending OP_PUSHDATA opcodes, so use `Script.AppendPushData` instead.
func (s *Script) AppendOpcodes(oo ...uint8) error {
for _, o := range oo {
switch o {
Expand Down

0 comments on commit 4c096dc

Please sign in to comment.