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