func (cl *OpencxAuctionRPC) SubmitPuzzledOrder(args SubmitPuzzledOrderArgs, reply *SubmitPuzzledOrderReply) (err error) {

	logging.Infof("Received timelocked order!")

	order := new(match.EncryptedAuctionOrder)
	if err = order.Deserialize(args.EncryptedOrderBytes); err != nil {
		err = fmt.Errorf("Error deserializing puzzled order: %s", err)
		return
	}

	if err = cl.Server.PlacePuzzledOrder(order); err != nil {
		err = fmt.Errorf("Error placing order while submitting order: \n%s", err)
		return
	}

	return
}
// SubmitPuzzledOrder submits an order to the order book or throws an error
SubmitPuzzledOrder submits an order to the order book or throws an error
// SubmitPuzzledOrder submits an order to the order book or throws an error
func (cl *OpencxAuctionRPC) SubmitPuzzledOrder(args SubmitPuzzledOrderArgs, reply *SubmitPuzzledOrderReply) (err error) {
	logging.Infof("Received timelocked order!")
	order := new(match.EncryptedAuctionOrder)
	if err = order.Deserialize(args.EncryptedOrderBytes); err != nil {
		err = fmt.Errorf("Error deserializing puzzled order: %s", err)
		return
	}
	if err = cl.Server.PlacePuzzledOrder(order); err != nil {
		err = fmt.Errorf("Error placing order while submitting order: \n%s", err)
		return
	}
	return
}
func ( cl * OpencxAuctionRPC ) SubmitPuzzledOrder ( args SubmitPuzzledOrderArgs , reply * SubmitPuzzledOrderReply ) ( err error ) { logging . Infof ( " " ) order := new ( match . EncryptedAuctionOrder ) if err = order . Deserialize ( args . EncryptedOrderBytes ) ; err != nil { err = fmt . Errorf ( " " , err ) return } if err = cl . Server . PlacePuzzledOrder ( order ) ; err != nil { err = fmt . Errorf ( " \n " , err ) return } return }
SubmitPuzzledOrder submits an order to the order book or throws an error
SubmitPuzzledOrder submits an order to the order book or throws an error