data/misc.go
func HexToHash(h HexString) (common.Hash, error) {
	hashBytes, err := HexToBytes(h)
	if err != nil {
		err = fmt.Errorf("unable to parse ethereum hash: %s", err)
	}
	return common.BytesToHash(hashBytes), err
}
func HexToHash(h HexString) (common.Hash, error) {
	hashBytes, err := HexToBytes(h)
	if err != nil {
		err = fmt.Errorf("unable to parse ethereum hash: %s", err)
	}
	return common.BytesToHash(hashBytes), err
}
func HexToHash ( h HexString ) ( common . Hash , error ) { hashBytes , err := HexToBytes ( h ) if err != nil { err = fmt . Errorf ( " " , err ) } return common . BytesToHash ( hashBytes ) , err }
// HexToHash returns the ethereum's hash represented by the hex of string s.
HexToHash returns the ethereum s hash represented by the hex of string s .