neo local peer draft
This commit is contained in:
parent
4de43a301c
commit
20ce1f5ef3
@ -84,7 +84,9 @@ func (ao *Peer) GetID() string {
|
||||
}
|
||||
|
||||
func (r *Peer) GenerateID() {
|
||||
r.UUID = uuid.New().String()
|
||||
if r.UUID == "" {
|
||||
r.UUID = uuid.New().String()
|
||||
}
|
||||
}
|
||||
|
||||
func (d *Peer) GetName() string {
|
||||
|
Loading…
Reference in New Issue
Block a user