From eb5de559ffca7572c5d7e3aad3adea2dd3999acc Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 6 Jul 2013 11:58:28 -0500 Subject: [PATCH] Fix a couple of comment typos for the word execute. --- script.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.go b/script.go index f4e6f555..75b2c867 100644 --- a/script.go +++ b/script.go @@ -46,7 +46,7 @@ var StackErrInvalidOpcode = errors.New("Invalid Opcode") // encountered. var StackErrReservedOpcode = errors.New("Reserved Opcode") -// StackErrEarlyReturn is returned when OP_RETURN is exectured in the script. +// StackErrEarlyReturn is returned when OP_RETURN is executed in the script. var StackErrEarlyReturn = errors.New("Script returned early") // StackErrNoIf is returned if an OP_ELSE or OP_ENDIF is encountered without @@ -378,7 +378,7 @@ func NewScript(scriptSig []byte, scriptPubKey []byte, txidx int, tx *btcwire.Msg return &m, nil } -// Execute will execturte all script in the script engine and return either nil +// Execute will execute all script in the script engine and return either nil // for successful validation or an error if one occurred. func (s *Script) Execute() (err error) { done := false