This commit is contained in:
parent
d049f87cdc
commit
9179021544
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user