code: func (r FutureGenerateResult) Receive() ([]*chainhash.Hash, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, err
  	}
  
  	// Unmarshal result as a list of strings.
  	var result []string
  	err = json.Unmarshal(res, &result)
  	if err != nil {
  		return nil, err
  	}
  
  	// Convert each block hash to a chainhash.Hash and store a pointer to
  	// each.
  	convertedResult := make([]*chainhash.Hash, len(result))
  	for i, hashString := range result {
  		convertedResult[i], err = chainhash.NewHashFromStr(hashString)
  		if err != nil {
  			return nil, err
  		}
  	}
  
  	return convertedResult, nil
  }
docs: // Receive waits for the response promised by the future and returns a list of
  // block hashes generated by the call.