From da499cbd03aa627b0819cbcaf2f3756754c5bc98 Mon Sep 17 00:00:00 2001 From: josh <josh@elixxir.io> Date: Mon, 17 May 2021 10:49:49 -0700 Subject: [PATCH] Update all CLI flags --- cmd/root.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 58d5a067b..20e1edc54 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -368,7 +368,7 @@ func initClient() *api.Client { netParams.E2EParams.NumRekeys = uint16( viper.GetUint("e2eNumReKeys")) netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds") - netParams.FastPolling = viper.GetBool("fastPolling") + netParams.FastPolling = viper.GetBool(" slowPolling") //load the client client, err := api.Login(storeDir, []byte(pass), netParams) @@ -765,10 +765,10 @@ func init() { rootCmd.Flags().Lookup("forceHistoricalRounds")) // Network params - rootCmd.Flags().BoolP("fastPolling", "", true, - "Enables polling for filtered network updates") - viper.BindPFlag("fastPolling", - rootCmd.Flags().Lookup("fastPolling")) + rootCmd.Flags().BoolP("slowPolling", "", true, + "Enables polling for unfiltered network updates with RSA signatures") + viper.BindPFlag("slowPolling", + rootCmd.Flags().Lookup("slowPolling")) // E2E Params defaultE2EParams := params.GetDefaultE2ESessionParams() -- GitLab