Skip to content
Snippets Groups Projects
Commit 196202a3 authored by Josh Brooks's avatar Josh Brooks
Browse files

Move registerFollower to Login

parent dd6876fb
No related branches found
No related tags found
2 merge requests!23Release,!5Services rewrite
......@@ -186,12 +186,6 @@ func OpenClient(storageDir string, password []byte, parameters params.Network) (
clientErrorChannel: make(chan interfaces.ClientError, 1000),
}
// Add all processes to the followerServices
err = c.registerFollower()
if err != nil {
return nil, err
}
return c, nil
}
......@@ -252,6 +246,13 @@ func Login(storageDir string, password []byte, parameters params.Network) (*Clie
// initialize the auth tracker
c.auth = auth.NewManager(c.switchboard, c.storage, c.network)
// Add all processes to the followerServices
err = c.registerFollower()
if err != nil {
return nil, err
}
return c, nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment