From 8730379193a953aac18b8ac1c16a845b67fc934f Mon Sep 17 00:00:00 2001 From: joshemb <josh@elixxir.io> Date: Wed, 27 Jul 2022 13:28:06 -0700 Subject: [PATCH] Fix LoadOrNewManager param docstring --- ud/manager.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ud/manager.go b/ud/manager.go index 0aac0f4af..212920a0f 100644 --- a/ud/manager.go +++ b/ud/manager.go @@ -54,8 +54,7 @@ type Manager struct { // - username is the name of the user as it is registered with UD. This will be what the end user // provides if through the bindings. // - networkValidationSig is a signature provided by the network (i.e. the client registrar). This may -// be nil if the caller knows the manager will be loaded. If a new manager is created, a nil signature -// will cause an error. +// be nil, however UD may return an error in some cases (e.g. in a production level environment). func LoadOrNewManager(user udE2e, comms Comms, follower udNetworkStatus, username string, networkValidationSig []byte) (*Manager, error) { jww.INFO.Println("ud.LoadOrNewManager()") -- GitLab