diff --git a/cmd/root.go b/cmd/root.go index e53afa33d5f106bb3c21548caf612c067a7823df..87ed87c850fa8a341a35379be9253b07bd5bb079 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -76,7 +76,7 @@ var rootCmd = &cobra.Command{ } //load the client - client, err := api.Login(storeDir, []byte(pass)) + client, err := api.Login(storeDir, []byte(pass), params.GetDefaultNetwork()) if err != nil { jww.FATAL.Panicf("%+v", err) } @@ -110,7 +110,7 @@ var rootCmd = &cobra.Command{ }) } - err = client.StartNetworkFollower() + err = client.StartNetworkFollower(params.GetDefaultRekey()) if err != nil { jww.FATAL.Panicf("%+v", err) }