code: func newHashFromStr(hexStr string) *chainhash.Hash {
  	hash, _ := chainhash.NewHashFromStr(hexStr)
  	return hash
  }
docs: // newHashFromStr converts the passed big-endian hex string into a
  // chainhash.Hash.  It only differs from the one available in chainhash in that
  // it ignores the error since it will only (and must only) be called with
  // hard-coded, and therefore known good, hashes.