diff --git a/shahash.go b/shahash.go index b6ac8d11..1e3f8f21 100644 --- a/shahash.go +++ b/shahash.go @@ -18,7 +18,7 @@ const MaxHashStringSize = HashSize * 2 // ErrHashStrSize describes an error that indicates the caller specified a hash // string that has too many characters. -var ErrHashStrSize = fmt.Errorf("max hash length is %v chars", MaxHashStringSize) +var ErrHashStrSize = fmt.Errorf("max hash string length is %v bytes", MaxHashStringSize) // ShaHash is used in several of the bitcoin messages and common structures. It // typically represents the double sha256 of data.