Fix comment typo.

This commit is contained in:
Dave Collins 2013-05-09 18:12:11 -05:00
parent 970b9c129d
commit d829f688b9

View file

@ -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
}