code: func returnHashes(hashes []common.Hash) []common.Hash {
  	if hashes == nil {
  		return []common.Hash{}
  	}
  	return hashes
  }
docs: // returnHashes is a helper that will return an empty hash array case the given hash array is nil,
  // otherwise the given hashes array is returned.