func BytesToHashes(b [][]byte) ([]Hash, error) {
	out := make([]Hash, len(b))

	for i := range out {
		h, err := BytesToHash(b[i])
		if err != nil {
			return nil, err
		}
		out[i] = h
	}

	return out, nil
}
// BytesToHashes converts an array of byte arrays to hashes.
BytesToHashes converts an array of byte arrays to hashes.
// BytesToHashes converts an array of byte arrays to hashes .
func BytesToHashes(b [][]byte) ([]Hash, error) {
	out := make([]Hash, len(b))
	for i := range out {
		h, err := BytesToHash(b[i])
		if err != nil {
			return nil, err
		}
		out[i] = h
	}
	return out, nil
}
func BytesToHashes ( b [ ] [ ] byte ) ( [ ] Hash , error ) { out := make ( [ ] Hash , len ( b ) ) for i := range out { h , err := BytesToHash ( b [ i ] ) if err != nil { return nil , err } out [ i ] = h } return out , nil }
BytesToHashes converts an array of byte arrays to hashes.
BytesToHashes converts an array of byte arrays to hashes .