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