code: func (r FutureGetAddressesByAccountResult) Receive() ([]btcutil.Address, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, err
  	}
  
  	// Unmashal result as an array of string.
  	var addrStrings []string
  	err = json.Unmarshal(res, &addrStrings)
  	if err != nil {
  		return nil, err
  	}
  
  	addrs := make([]btcutil.Address, 0, len(addrStrings))
  	for _, addrStr := range addrStrings {
  		addr, err := btcutil.DecodeAddress(addrStr,
  			&chaincfg.MainNetParams)
  		if err != nil {
  			return nil, err
  		}
  		addrs = append(addrs, addr)
  	}
  
  	return addrs, nil
  }
docs: // Receive waits for the response promised by the future and returns the list of
  // addresses associated with the passed account.