This commit is contained in:
@ -25,6 +25,7 @@ type PeerStorage struct {
|
||||
func (ps *PeerStorage) open() error {
|
||||
if ps.DbFile == "" {
|
||||
ps.DbFile = uuid.New().String()
|
||||
GetConfig().GetIdentity().Save()
|
||||
}
|
||||
if ps.cache == nil {
|
||||
ps.cache = make(map[string]*Peer)
|
||||
|
Reference in New Issue
Block a user