func (cl *OpencxAuctionRPC) GetPublicParameters(args GetPublicParametersArgs, reply *GetPublicParametersReply) (err error) {
	if reply.AuctionID, err = cl.Server.CurrentAuctionID(); err != nil {
		err = fmt.Errorf("Error getting public param auction id: %s", err)
		return
	}

	if reply.AuctionTime, err = cl.Server.CurrentAuctionTime(); err != nil {
		err = fmt.Errorf("Error getting public param auction time: %s", err)
		return
	}

	return
}
// GetPublicParameters gets public parameters from the exchange, like time and auctionID
GetPublicParameters gets public parameters from the exchange, like time and auctionID
// GetPublicParameters gets public parameters from the exchange like time and auctionID
func (cl *OpencxAuctionRPC) GetPublicParameters(args GetPublicParametersArgs, reply *GetPublicParametersReply) (err error) {
	if reply.AuctionID, err = cl.Server.CurrentAuctionID(); err != nil {
		err = fmt.Errorf("Error getting public param auction id: %s", err)
		return
	}
	if reply.AuctionTime, err = cl.Server.CurrentAuctionTime(); err != nil {
		err = fmt.Errorf("Error getting public param auction time: %s", err)
		return
	}
	return
}
func ( cl * OpencxAuctionRPC ) GetPublicParameters ( args GetPublicParametersArgs , reply * GetPublicParametersReply ) ( err error ) { if reply . AuctionID , err = cl . Server . CurrentAuctionID ( ) ; err != nil { err = fmt . Errorf ( " " , err ) return } if reply . AuctionTime , err = cl . Server . CurrentAuctionTime ( ) ; err != nil { err = fmt . Errorf ( " " , err ) return } return }
GetPublicParameters gets public parameters from the exchange, like time and auctionID
GetPublicParameters gets public parameters from the exchange like time and auctionID