Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwire
  Commit: 0127b3aafeb23a6031687bf47964dda9e30784c0
      
https://github.com/conformal/btcwire/commit/0127b3aafeb23a6031687bf47964dda9e30784c0
  Author: Josh Rickmar <[email protected]>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M shahash.go

  Log Message:
  -----------
  Make ErrHashStrSize slightly more descriptive.

Add the word 'string' to the error string so if this is printed, it
will be clearer that it was a hash string decode that failed (as
opposed to other errors creating a ShaHash from a byte slice) and
change 'chars' to 'bytes', since the string length is measured in
bytes, not UTF-8 code points.

ok @davecgh


Reply via email to