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