diff --git a/client/identity.go b/client/identity.go index 5d23e32..c45195f 100644 --- a/client/identity.go +++ b/client/identity.go @@ -190,10 +190,10 @@ func LoadIdentity(filename string, password string) (*Identity, error) { if err != nil { return nil, err } + GetConfig().me = &id if id.Peers.DbFile != "" { id.Peers.LoadPeers(password) } - GetConfig().me = &id return &id, err }