code: func (r FutureGetCurrentNetResult) Receive() (wire.BitcoinNet, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return 0, err
  	}
  
  	// Unmarshal result as an int64.
  	var net int64
  	err = json.Unmarshal(res, &net)
  	if err != nil {
  		return 0, err
  	}
  
  	return wire.BitcoinNet(net), nil
  }
docs: // Receive waits for the response promised by the future and returns the network
  // the server is running on.