code: func (r FutureGetCFilterResult) Receive() (*wire.MsgCFilter, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, err
  	}
  
  	// Unmarshal result as a string.
  	var filterHex string
  	err = json.Unmarshal(res, &filterHex)
  	if err != nil {
  		return nil, err
  	}
  
  	// Decode the serialized cf hex to raw bytes.
  	serializedFilter, err := hex.DecodeString(filterHex)
  	if err != nil {
  		return nil, err
  	}
  
  	// Assign the filter bytes to the correct field of the wire message.
  	// We aren't going to set the block hash or extended flag, since we
  	// don't actually get that back in the RPC response.
  	var msgCFilter wire.MsgCFilter
  	msgCFilter.Data = serializedFilter
  	return &msgCFilter, nil
  }
docs: // Receive waits for the response promised by the future and returns the raw
  // filter requested from the server given its block hash.