From 78a8b797e6dca5113bb9eb17b81a08f236a4adee Mon Sep 17 00:00:00 2001 From: ycc Date: Tue, 28 May 2024 18:05:41 +0200 Subject: [PATCH] initial load peers fix --- client/identity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }