From d829f688b984b6bc6ddb2b1c17eb7e8c9be5172d Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 9 May 2013 18:12:11 -0500 Subject: [PATCH] Fix comment typo. --- shahash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shahash.go b/shahash.go index 2e21439c..b698fc20 100644 --- a/shahash.go +++ b/shahash.go @@ -70,7 +70,7 @@ func NewShaHash(newHash []byte) (*ShaHash, error) { // NewShaHashFromStr converts a hash string in the standard bitcoin big-endian // form to a ShaHash (which is little-endian). func NewShaHashFromStr(hash string) (*ShaHash, error) { - // Return error is hash string is too long. + // Return error if hash string is too long. if len(hash) > MaxHashStringSize { return nil, ErrHashStrSize }