This commit is contained in:
parent
d049f87cdc
commit
9179021544
@ -190,7 +190,9 @@ func LoadIdentity(filename string, password string) (*Identity, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if id.Peers.DbFile != "" {
|
||||||
id.Peers.LoadPeers(password)
|
id.Peers.LoadPeers(password)
|
||||||
|
}
|
||||||
GetConfig().me = &id
|
GetConfig().me = &id
|
||||||
return &id, err
|
return &id, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user